Patch "ASoC: rt711-sdca: fix the latency time of clock stop prepare state machine transitions" has been added to the 5.15-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: rt711-sdca: fix the latency time of clock stop prepare state machine transitions

to the 5.15-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-rt711-sdca-fix-the-latency-time-of-clock-stop-p.patch
and it can be found in the queue-5.15 subdirectory.

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



commit 1a4f163765e6e2d3032bfa845132060178a7472e
Author: Shuming Fan <shumingf@xxxxxxxxxxx>
Date:   Wed Nov 16 17:03:18 2022 +0800

    ASoC: rt711-sdca: fix the latency time of clock stop prepare state machine transitions
    
    [ Upstream commit c7d7d4e7bb1290cc473610b0bb96d9fa606d00e7 ]
    
    Due to the hardware behavior, it takes some time for CBJ detection/impedance sensing/de-bounce.
    The ClockStop_NotFinished flag will be raised until these functions are completed.
    In ClockStopMode0 mode case, the SdW controller might check this flag from D3 to D0 when the
    jack detection interrupt happened.
    
    Signed-off-by: Shuming Fan <shumingf@xxxxxxxxxxx>
    Link: https://lore.kernel.org/r/20221116090318.5017-1-shumingf@xxxxxxxxxxx
    Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/sound/soc/codecs/rt711-sdca-sdw.c b/sound/soc/codecs/rt711-sdca-sdw.c
index a085b2f530aa..31e77d462ef3 100644
--- a/sound/soc/codecs/rt711-sdca-sdw.c
+++ b/sound/soc/codecs/rt711-sdca-sdw.c
@@ -230,7 +230,7 @@ static int rt711_sdca_read_prop(struct sdw_slave *slave)
 	}
 
 	/* set the timeout values */
-	prop->clk_stop_timeout = 20;
+	prop->clk_stop_timeout = 700;
 
 	/* wake-up event */
 	prop->wake_capable = 1;



[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