diff options
author | Peter Ujfalusi | 2016-08-19 09:34:24 +0300 |
---|---|---|
committer | Mark Brown | 2016-08-19 15:18:43 +0100 |
commit | 21eb45db282317543ca46c821bbb8d5075e02cbe (patch) | |
tree | 5008c14c0d19aa7f75f5b8d5bfe23ca3f3f37a07 /sound/core/control.c | |
parent | 479e2a86dc6aeaec6013165e1bd3525db6914f3a (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