diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2016-11-23 10:30:11 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-11-23 12:30:55 +0000 |
commit | 222e728ca29b5976accd1fc520a716d168ee2ca5 (patch) | |
tree | 2dad68b5e9ef0926f5e94a7513af58d1a16cea10 /include/sound/soc.h | |
parent | 4185d4be22a3fbf8e065437883ced195e692642b (diff) | |
download | op-kernel-dev-222e728ca29b5976accd1fc520a716d168ee2ca5.zip op-kernel-dev-222e728ca29b5976accd1fc520a716d168ee2ca5.tar.gz |
ASoC: uda1380: Request GPIOs at bus probe time
Resources should be requested when the device is probed on the control bus
rather then when the CODEC is bound to the sound card. This allows things
like probe deferring and device managed allocations to work.
So move the GPIO request calls from the CODEC probe to the bus probe and
also make them managed along the way.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/soc.h')
0 files changed, 0 insertions, 0 deletions