Patch "clk: qcom: gcc-sdm660: Use floor ops for SDCC1 clock" has been added to the 5.10-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

    clk: qcom: gcc-sdm660: Use floor ops for SDCC1 clock

to the 5.10-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:
     clk-qcom-gcc-sdm660-use-floor-ops-for-sdcc1-clock.patch
and it can be found in the queue-5.10 subdirectory.

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



commit 6a2334df85eec46ed28495ea50e595590668b866
Author: Marijn Suijten <marijn.suijten@xxxxxxxxxxxxxx>
Date:   Thu Jul 14 22:38:22 2022 +0200

    clk: qcom: gcc-sdm660: Use floor ops for SDCC1 clock
    
    [ Upstream commit 6956c18f4ad9200aa945f7ea37d65a05afc49d51 ]
    
    In commit 3f905469c8ce ("clk: qcom: gcc: Use floor ops for SDCC clocks")
    floor ops were applied to SDCC2 only, but flooring is also required on
    the SDCC1 apps clock which is used by the eMMC card on Sony's Nile
    platform, and otherwise result in the typicial "Card appears
    overclocked" warnings observed on many other platforms before:
    
        mmc0: Card appears overclocked; req 52000000 Hz, actual 100000000 Hz
        mmc0: Card appears overclocked; req 52000000 Hz, actual 100000000 Hz
        mmc0: Card appears overclocked; req 104000000 Hz, actual 192000000 Hz
    
    Fixes: f2a76a2955c0 ("clk: qcom: Add Global Clock controller (GCC) driver for SDM660")
    Signed-off-by: Marijn Suijten <marijn.suijten@xxxxxxxxxxxxxx>
    Tested-by: Alexey Minnekhanov <alexeymin@xxxxxxxxxxxxxxxx>
    Reviewed-by: Stephen Boyd <sboyd@xxxxxxxxxx>
    Signed-off-by: Bjorn Andersson <andersson@xxxxxxxxxx>
    Link: https://lore.kernel.org/r/20220714203822.186448-1-marijn.suijten@xxxxxxxxxxxxxx
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/clk/qcom/gcc-sdm660.c b/drivers/clk/qcom/gcc-sdm660.c
index 95712cf38bab..905705559f59 100644
--- a/drivers/clk/qcom/gcc-sdm660.c
+++ b/drivers/clk/qcom/gcc-sdm660.c
@@ -757,7 +757,7 @@ static struct clk_rcg2 sdcc1_apps_clk_src = {
 		.name = "sdcc1_apps_clk_src",
 		.parent_data = gcc_parent_data_xo_gpll0_gpll4_gpll0_early_div,
 		.num_parents = ARRAY_SIZE(gcc_parent_data_xo_gpll0_gpll4_gpll0_early_div),
-		.ops = &clk_rcg2_ops,
+		.ops = &clk_rcg2_floor_ops,
 	},
 };
 



[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