summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/adau1701.c
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2016-08-19 08:34:24 +0200
committerMark Brown <broonie@kernel.org>2016-08-19 16:18:43 +0200
commit21eb45db282317543ca46c821bbb8d5075e02cbe (patch)
tree5008c14c0d19aa7f75f5b8d5bfe23ca3f3f37a07 /sound/soc/codecs/adau1701.c
parentASoC: omap-mcpdm: Drop pdmclk clock handling (diff)
downloadlinux-21eb45db282317543ca46c821bbb8d5075e02cbe.tar.xz
linux-21eb45db282317543ca46c821bbb8d5075e02cbe.zip
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/soc/codecs/adau1701.c')
0 files changed, 0 insertions, 0 deletions