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
Makefile -rw-r--r-- 1006 bytes
atomic_ll_sc.c -rw-r--r-- 85 bytes
bitops.S -rw-r--r-- 1.9 KB
clear_page.S -rw-r--r-- 957 bytes
clear_user.S -rw-r--r-- 1.8 KB
copy_from_user.S -rw-r--r-- 2.1 KB
copy_in_user.S -rw-r--r-- 2.1 KB
copy_page.S -rw-r--r-- 2.1 KB
copy_template.S -rw-r--r-- 4.5 KB
copy_to_user.S -rw-r--r-- 2.0 KB
delay.c -rw-r--r-- 1.4 KB
memchr.S -rw-r--r-- 1.0 KB
memcmp.S -rw-r--r-- 7.0 KB
memcpy.S -rw-r--r-- 1.8 KB
memmove.S -rw-r--r-- 4.3 KB
memset.S -rw-r--r-- 4.9 KB
strchr.S -rw-r--r-- 1.1 KB
strcmp.S -rw-r--r-- 6.5 KB
strlen.S -rw-r--r-- 3.4 KB
strncmp.S -rw-r--r-- 8.8 KB
strnlen.S -rw-r--r-- 4.7 KB
strrchr.S -rw-r--r-- 1.1 KB

back to top