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.libfdt -rw-r--r-- 413 bytes
fdt.c -rw-r--r-- 6.5 KB
fdt.h -rw-r--r-- 3.9 KB
fdt_empty_tree.c -rw-r--r-- 2.8 KB
fdt_ro.c -rw-r--r-- 15.6 KB
fdt_rw.c -rw-r--r-- 12.8 KB
fdt_strerror.c -rw-r--r-- 3.3 KB
fdt_sw.c -rw-r--r-- 7.7 KB
fdt_wip.c -rw-r--r-- 3.6 KB
libfdt.h -rw-r--r-- 60.2 KB
libfdt_env.h -rw-r--r-- 4.0 KB
libfdt_internal.h -rw-r--r-- 3.6 KB

back to top