Patch "spi: synquacer: Add missing clk_disable_unprepare()" has been added to the 5.19-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

    spi: synquacer: Add missing clk_disable_unprepare()

to the 5.19-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:
     spi-synquacer-add-missing-clk_disable_unprepare.patch
and it can be found in the queue-5.19 subdirectory.

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



commit 91d6719ba80e1efd7eefd841c22e982e02c8a845
Author: Guo Mengqi <guomengqi3@xxxxxxxxxx>
Date:   Fri Jun 24 08:56:14 2022 +0800

    spi: synquacer: Add missing clk_disable_unprepare()
    
    [ Upstream commit 917e43de2a56d9b82576f1cc94748261f1988458 ]
    
    Add missing clk_disable_unprepare() in synquacer_spi_resume().
    
    Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
    Signed-off-by: Guo Mengqi <guomengqi3@xxxxxxxxxx>
    Link: https://lore.kernel.org/r/20220624005614.49434-1-guomengqi3@xxxxxxxxxx
    Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/spi/spi-synquacer.c b/drivers/spi/spi-synquacer.c
index ea706d9629cb..47cbe73137c2 100644
--- a/drivers/spi/spi-synquacer.c
+++ b/drivers/spi/spi-synquacer.c
@@ -783,6 +783,7 @@ static int __maybe_unused synquacer_spi_resume(struct device *dev)
 
 		ret = synquacer_spi_enable(master);
 		if (ret) {
+			clk_disable_unprepare(sspi->clk);
 			dev_err(dev, "failed to enable spi (%d)\n", ret);
 			return ret;
 		}



[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