Revision 21eb45db282317543ca46c821bbb8d5075e02cbe authored by Peter Ujfalusi on 19 August 2016, 06:34:24 UTC, committed by Mark Brown on 19 August 2016, 14:18:43 UTC
The dmic-codec was registered within the platform_driver's probe function,
which can cause deferred probe to run in loops as reported and analyzed by
Russell King.

Use module_init/exit in the driver and handle the dmic-codec device
registration and removal at that level instead of the platform_driver
probe/remove.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Reported-by: Russell King <rmk+kernel@armlinux.org.uk>
Tested-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 479e2a8
History
File Mode Size
mpu401
opl3
opl4
pcsp
vx
Kconfig -rw-r--r-- 6.8 KB
Makefile -rw-r--r-- 788 bytes
aloop.c -rw-r--r-- 35.4 KB
dummy.c -rw-r--r-- 32.1 KB
ml403-ac97cr.c -rw-r--r-- 39.6 KB
mtpav.c -rw-r--r-- 19.8 KB
mts64.c -rw-r--r-- 26.2 KB
pcm-indirect2.c -rw-r--r-- 16.8 KB
pcm-indirect2.h -rw-r--r-- 5.1 KB
portman2x4.c -rw-r--r-- 25.0 KB
serial-u16550.c -rw-r--r-- 30.7 KB
virmidi.c -rw-r--r-- 5.5 KB

back to top