summaryrefslogtreecommitdiff
path: root/crypto/ofb.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2023-09-26 15:25:30 +0200
committerMark Brown <broonie@kernel.org>2023-10-02 14:06:18 +0100
commit5b12dd84499a74be9d133e020e424025359a244f (patch)
tree12ff74f6aa12344973adb544301b1cbead503ae7 /crypto/ofb.c
parent0bb80ecc33a8fb5a682236443c1e740d5c917d1d (diff)
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: Linus Walleij <linus.walleij@linaro.org> Tested-by: Jarkko Nikula <jarkko.nikula@bitmer.com> Acked-by: Jarkko Nikula <jarkko.nikula@bitmer.com> Link: https://lore.kernel.org/r/20230926-descriptors-asoc-ti-v1-2-60cf4f8adbc5@linaro.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'crypto/ofb.c')
0 files changed, 0 insertions, 0 deletions