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
Kconfig -rw-r--r-- 1.3 KB
Makefile -rw-r--r-- 285 bytes
awacs.c -rw-r--r-- 31.8 KB
awacs.h -rw-r--r-- 8.0 KB
beep.c -rw-r--r-- 7.7 KB
burgundy.c -rw-r--r-- 24.3 KB
burgundy.h -rw-r--r-- 4.0 KB
daca.c -rw-r--r-- 6.9 KB
keywest.c -rw-r--r-- 4.3 KB
pmac.c -rw-r--r-- 37.2 KB
pmac.h -rw-r--r-- 5.1 KB
powermac.c -rw-r--r-- 5.1 KB
snd_ps3.c -rw-r--r-- 28.6 KB
snd_ps3.h -rw-r--r-- 3.5 KB
snd_ps3_reg.h -rw-r--r-- 33.2 KB
tumbler.c -rw-r--r-- 38.3 KB
tumbler_volume.h -rw-r--r-- 6.5 KB

back to top