Patch "ASoC: codecs: tas2780: Fix log of failed reset via I2C." has been added to the 6.1-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: codecs: tas2780: Fix log of failed reset via I2C.

to the 6.1-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-codecs-tas2780-fix-log-of-failed-reset-via-i2c.patch
and it can be found in the queue-6.1 subdirectory.

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



commit 5f55affde77dfe701e3a9648a3aab6a4c5ba0e6b
Author: Roy Chateau <roy.chateau@xxxxxxxxxxxx>
Date:   Fri Oct 13 13:02:39 2023 +0200

    ASoC: codecs: tas2780: Fix log of failed reset via I2C.
    
    [ Upstream commit 4e9a429ae80657bdc502d3f5078e2073656ec5fd ]
    
    Correctly log failures of reset via I2C.
    
    Signed-off-by: Roy Chateau <roy.chateau@xxxxxxxxxxxx>
    Link: https://lore.kernel.org/r/20231013110239.473123-1-roy.chateau@xxxxxxxxxxxx
    Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/sound/soc/codecs/tas2780.c b/sound/soc/codecs/tas2780.c
index afdf0c863aa10..a2d27410bbefa 100644
--- a/sound/soc/codecs/tas2780.c
+++ b/sound/soc/codecs/tas2780.c
@@ -39,7 +39,7 @@ static void tas2780_reset(struct tas2780_priv *tas2780)
 		usleep_range(2000, 2050);
 	}
 
-	snd_soc_component_write(tas2780->component, TAS2780_SW_RST,
+	ret = snd_soc_component_write(tas2780->component, TAS2780_SW_RST,
 				TAS2780_RST);
 	if (ret)
 		dev_err(tas2780->dev, "%s:errCode:0x%x Reset error!\n",



[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