Patch "ASoC: wcd9335: Use correct version to initialize Class H" has been added to the 5.14-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: wcd9335: Use correct version to initialize Class H

to the 5.14-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-wcd9335-use-correct-version-to-initialize-class.patch
and it can be found in the queue-5.14 subdirectory.

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



commit 1a07d2d280ca18039a565828ab9c6feb06bb57a1
Author: Yassine Oudjana <y.oudjana@xxxxxxxxxxxxxx>
Date:   Sat Sep 25 02:24:19 2021 +0000

    ASoC: wcd9335: Use correct version to initialize Class H
    
    [ Upstream commit a270bd9abdc3cd04ec194f1f3164823cbb5a905c ]
    
    The versioning scheme was changed in an earlier patch, which caused the version
    being used to initialize WCD9335 to be interpreted as if it was WCD937X, which
    changed code paths causing broken headphones output. Pass WCD9335 instead of
    WCD9335_VERSION_2_0 to wcd_clsh_ctrl_alloc to fix it.
    
    Fixes: 19c5d1f6a0c3 ("ASoC: codecs: wcd-clsh: add new version support")
    Signed-off-by: Yassine Oudjana <y.oudjana@xxxxxxxxxxxxxx>
    Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxx>
    Link: https://lore.kernel.org/r/20210925022339.786296-1-y.oudjana@xxxxxxxxxxxxxx
    Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/sound/soc/codecs/wcd9335.c b/sound/soc/codecs/wcd9335.c
index d885ced34f606..bc5d68c53e5ab 100644
--- a/sound/soc/codecs/wcd9335.c
+++ b/sound/soc/codecs/wcd9335.c
@@ -4859,7 +4859,7 @@ static int wcd9335_codec_probe(struct snd_soc_component *component)
 
 	snd_soc_component_init_regmap(component, wcd->regmap);
 	/* Class-H Init*/
-	wcd->clsh_ctrl = wcd_clsh_ctrl_alloc(component, wcd->version);
+	wcd->clsh_ctrl = wcd_clsh_ctrl_alloc(component, WCD9335);
 	if (IS_ERR(wcd->clsh_ctrl))
 		return PTR_ERR(wcd->clsh_ctrl);
 



[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