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-- 10.6 KB
Makefile -rw-r--r-- 472 bytes
autosleep.c -rw-r--r-- 2.6 KB
console.c -rw-r--r-- 3.5 KB
hibernate.c -rw-r--r-- 28.2 KB
main.c -rw-r--r-- 15.4 KB
power.h -rw-r--r-- 8.5 KB
poweroff.c -rw-r--r-- 990 bytes
process.c -rw-r--r-- 5.7 KB
qos.c -rw-r--r-- 19.1 KB
snapshot.c -rw-r--r-- 71.1 KB
suspend.c -rw-r--r-- 13.3 KB
suspend_test.c -rw-r--r-- 5.7 KB
swap.c -rw-r--r-- 38.2 KB
user.c -rw-r--r-- 10.1 KB
wakelock.c -rw-r--r-- 5.7 KB

back to top