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
libfdt
.gitignore -rw-r--r-- 54 bytes
Makefile -rw-r--r-- 1.0 KB
Makefile.dtc -rw-r--r-- 372 bytes
checks.c -rw-r--r-- 20.7 KB
data.c -rw-r--r-- 5.2 KB
dt_to_config -rwxr-xr-x 40.9 KB
dtc-lexer.l -rw-r--r-- 6.6 KB
dtc-lexer.lex.c_shipped -rw-r--r-- 58.8 KB
dtc-parser.tab.c_shipped -rw-r--r-- 69.4 KB
dtc-parser.tab.h_shipped -rw-r--r-- 3.1 KB
dtc-parser.y -rw-r--r-- 9.1 KB
dtc.c -rw-r--r-- 8.1 KB
dtc.h -rw-r--r-- 7.3 KB
dtx_diff -rwxr-xr-x 8.6 KB
fdtdump.c -rw-r--r-- 3.6 KB
fdtget.c -rw-r--r-- 8.6 KB
fdtput.c -rw-r--r-- 8.3 KB
flattree.c -rw-r--r-- 21.9 KB
fstree.c -rw-r--r-- 2.2 KB
livetree.c -rw-r--r-- 13.6 KB
srcpos.c -rw-r--r-- 7.3 KB
srcpos.h -rw-r--r-- 3.6 KB
treesource.c -rw-r--r-- 6.0 KB
update-dtc-source.sh -rwxr-xr-x 2.2 KB
util.c -rw-r--r-- 8.7 KB
util.h -rw-r--r-- 7.4 KB
version_gen.h -rw-r--r-- 42 bytes

back to top