Skip to content
Unverified Commit 5b12dd84 authored by Linus Walleij's avatar Linus Walleij Committed by Mark Brown
Browse files

ASoC: ti: Convert RX51 to use exclusively GPIO descriptors



The RX51/Nokia n900 uses the legacy GPIO header to convert a GPIO
back to the global GPIO numberspace and then the jack using it
in the snd_soc_jack_add_gpios() call immediately looks up the
corresponding descriptor again.

The snd_soc_jack_add_gpios() handles GPIOs passed with devices
just fine: pass in the device instead, and rename the GPIO
to match the property in the device tree, and it should work
all the same but without all the trouble.

Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Tested-by: default avatarJarkko Nikula <jarkko.nikula@bitmer.com>
Acked-by: default avatarJarkko Nikula <jarkko.nikula@bitmer.com>
Link: https://lore.kernel.org/r/20230926-descriptors-asoc-ti-v1-2-60cf4f8adbc5@linaro.org


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 0bb80ecc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment