]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: tas2781-i2c: Get the right GPIO line
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 7 Aug 2024 15:02:33 +0000 (17:02 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Oct 2024 14:29:05 +0000 (16:29 +0200)
commit7000e5f31ccfcf82bac6d291af60ac301fa91eb8
tree50f568cee81b554f1b3c30b68623c23517411be5
parent92b53ece5d3701c526ee5ac626ddd752548d2c01
ASoC: tas2781-i2c: Get the right GPIO line

[ Upstream commit 1c4b509edad15192bfb64c81d3c305bbae8070db ]

The code is obtaining a GPIO reset using the reset GPIO
name "reset-gpios", but the gpiolib is already adding the
suffix "-gpios" to anything passed to this function and
will be looking for "reset-gpios-gpios" which is most
certainly not what the author desired.

Fix it up.

Fixes: ef3bcde75d06 ("ASoC: tas2781: Add tas2781 driver")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://patch.msgid.link/20240807-asoc-tas-gpios-v2-2-bd0f2705d58b@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/codecs/tas2781-i2c.c