Patch "spi: coldfire-qspi: Remove an erroneous clk_disable_unprepare() from the remove function" has been added to the 6.6-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: coldfire-qspi: Remove an erroneous clk_disable_unprepare() from the remove function

to the 6.6-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-coldfire-qspi-remove-an-erroneous-clk_disable_un.patch
and it can be found in the queue-6.6 subdirectory.

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



commit 2f82b08d7e9da774e40c6aff34b081cedf162ef5
Author: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
Date:   Fri Jan 5 15:21:00 2024 +0100

    spi: coldfire-qspi: Remove an erroneous clk_disable_unprepare() from the remove function
    
    [ Upstream commit 17dc11a02d8dacc7e78968daa2a8c16281eb7d1e ]
    
    The commit in Fixes has changed a devm_clk_get()/clk_prepare_enable() into
    a devm_clk_get_enabled().
    It has updated the error handling path of the probe accordingly, but the
    remove has been left unchanged.
    
    Remove now the redundant clk_disable_unprepare() call from the remove
    function.
    
    Fixes: a90a987ebe00 ("spi: use devm_clk_get_enabled() in mcfqspi_probe()")
    Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
    Link: https://msgid.link/r/6670aed303e1f7680e0911387606a8ae069e2cef.1704464447.git.christophe.jaillet@xxxxxxxxxx
    Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/spi/spi-coldfire-qspi.c b/drivers/spi/spi-coldfire-qspi.c
index f0b630fe16c3..b341b6908df0 100644
--- a/drivers/spi/spi-coldfire-qspi.c
+++ b/drivers/spi/spi-coldfire-qspi.c
@@ -441,7 +441,6 @@ static void mcfqspi_remove(struct platform_device *pdev)
 	mcfqspi_wr_qmr(mcfqspi, MCFQSPI_QMR_MSTR);
 
 	mcfqspi_cs_teardown(mcfqspi);
-	clk_disable_unprepare(mcfqspi->clk);
 }
 
 #ifdef CONFIG_PM_SLEEP




[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