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-- 3.2 KB
Makefile -rw-r--r-- 439 bytes
cache.c -rw-r--r-- 13.2 KB
extable.c -rw-r--r-- 302 bytes
fault.c -rw-r--r-- 5.5 KB
highmem.c -rw-r--r-- 2.8 KB
hugetlbpage.c -rw-r--r-- 5.5 KB
init.c -rw-r--r-- 9.4 KB
ioremap.c -rw-r--r-- 2.3 KB
l2cache.c -rw-r--r-- 3.7 KB
maccess.c -rw-r--r-- 1.9 KB
mmu-meta1.c -rw-r--r-- 3.6 KB
mmu-meta2.c -rw-r--r-- 5.1 KB
numa.c -rw-r--r-- 2.4 KB

back to top