Searched hist:"222 e728ca29b5976accd1fc520a716d168ee2ca5" (Results 1 – 1 of 1) sorted by relevance
/linux/sound/soc/codecs/ |
H A D | uda1380.c | diff 222e728ca29b5976accd1fc520a716d168ee2ca5 Wed Nov 23 10:30:11 CET 2016 Lars-Peter Clausen <lars@metafoo.de> 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>
|