Patch "ASoC: tas2781-i2c: Get the right GPIO line" has been added to the 6.10-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    ASoC: tas2781-i2c: Get the right GPIO line

to the 6.10-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     asoc-tas2781-i2c-get-the-right-gpio-line.patch
and it can be found in the queue-6.10 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit daa95407cd063f8945ad5b86aa75cc2f5ecd6e49
Author: Linus Walleij <linus.walleij@xxxxxxxxxx>
Date:   Wed Aug 7 17:02:33 2024 +0200

    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@xxxxxxxxxx>
    Link: https://patch.msgid.link/20240807-asoc-tas-gpios-v2-2-bd0f2705d58b@xxxxxxxxxx
    Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/sound/soc/codecs/tas2781-i2c.c b/sound/soc/codecs/tas2781-i2c.c
index d6bbf94d55713..edd1ad3062c88 100644
--- a/sound/soc/codecs/tas2781-i2c.c
+++ b/sound/soc/codecs/tas2781-i2c.c
@@ -655,7 +655,7 @@ static void tasdevice_parse_dt(struct tasdevice_priv *tas_priv)
 		tas_priv->tasdevice[i].dev_addr = dev_addrs[i];
 
 	tas_priv->reset = devm_gpiod_get_optional(&client->dev,
-			"reset-gpios", GPIOD_OUT_HIGH);
+			"reset", GPIOD_OUT_HIGH);
 	if (IS_ERR(tas_priv->reset))
 		dev_err(tas_priv->dev, "%s Can't get reset GPIO\n",
 			__func__);




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux