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-- 382 bytes
opl3_drums.c -rw-r--r-- 7.0 KB
opl3_lib.c -rw-r--r-- 13.7 KB
opl3_midi.c -rw-r--r-- 22.3 KB
opl3_oss.c -rw-r--r-- 6.9 KB
opl3_seq.c -rw-r--r-- 7.3 KB
opl3_synth.c -rw-r--r-- 16.5 KB
opl3_voice.h -rw-r--r-- 2.2 KB

back to top