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
ext
Kconfig -rw-r--r-- 697 bytes
Makefile -rw-r--r-- 385 bytes
array.c -rw-r--r-- 1.2 KB
hda_bus_type.c -rw-r--r-- 2.1 KB
hdac_bus.c -rw-r--r-- 5.4 KB
hdac_controller.c -rw-r--r-- 13.4 KB
hdac_device.c -rw-r--r-- 26.9 KB
hdac_i915.c -rw-r--r-- 11.6 KB
hdac_regmap.c -rw-r--r-- 13.1 KB
hdac_stream.c -rw-r--r-- 19.3 KB
hdac_sysfs.c -rw-r--r-- 9.9 KB
hdmi_chmap.c -rw-r--r-- 24.2 KB
local.h -rw-r--r-- 791 bytes
trace.c -rw-r--r-- 107 bytes
trace.h -rw-r--r-- 2.1 KB

back to top