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-- 2.6 KB
Makefile -rw-r--r-- 496 bytes
affinity.c -rw-r--r-- 1.5 KB
autoprobe.c -rw-r--r-- 4.5 KB
chip.c -rw-r--r-- 29.5 KB
cpuhotplug.c -rw-r--r-- 2.1 KB
debug.h -rw-r--r-- 1.2 KB
devres.c -rw-r--r-- 4.0 KB
dummychip.c -rw-r--r-- 1.3 KB
generic-chip.c -rw-r--r-- 15.0 KB
handle.c -rw-r--r-- 5.3 KB
internals.h -rw-r--r-- 6.9 KB
ipi.c -rw-r--r-- 9.2 KB
irqdesc.c -rw-r--r-- 16.8 KB
irqdomain.c -rw-r--r-- 40.0 KB
manage.c -rw-r--r-- 54.0 KB
migration.c -rw-r--r-- 2.0 KB
msi.c -rw-r--r-- 10.0 KB
pm.c -rw-r--r-- 5.1 KB
proc.c -rw-r--r-- 12.2 KB
resend.c -rw-r--r-- 2.4 KB
settings.h -rw-r--r-- 4.4 KB
spurious.c -rw-r--r-- 11.9 KB

back to top