aboutsummaryrefslogtreecommitdiff
path: root/sound/core/control.c
diff options
context:
space:
mode:
authorPeter Ujfalusi2016-08-19 09:34:24 +0300
committerMark Brown2016-08-19 15:18:43 +0100
commit21eb45db282317543ca46c821bbb8d5075e02cbe (patch)
tree5008c14c0d19aa7f75f5b8d5bfe23ca3f3f37a07 /sound/core/control.c
parent479e2a86dc6aeaec6013165e1bd3525db6914f3a (diff)
ASoC: omap-abe-twl6040: Correct dmic-codec device registration
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>
Diffstat (limited to 'sound/core/control.c')
0 files changed, 0 insertions, 0 deletions