Patch "phy: intel: Fix for warnings due to EMMC clock 175Mhz change in FIP" has been added to the 5.13-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

    phy: intel: Fix for warnings due to EMMC clock 175Mhz change in FIP

to the 5.13-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:
     phy-intel-fix-for-warnings-due-to-emmc-clock-175mhz-.patch
and it can be found in the queue-5.13 subdirectory.

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



commit b4ccd52f5dcaeb93be87349ea8111eb36a4608e7
Author: Rashmi A <rashmi.a@xxxxxxxxx>
Date:   Thu Jun 3 23:52:42 2021 +0530

    phy: intel: Fix for warnings due to EMMC clock 175Mhz change in FIP
    
    [ Upstream commit 2f2b73a29d2aabf5ad0150856c3e5cb6e04dcfc1 ]
    
    Since the EMMC clock was changed from 200Mhz to 175Mhz in FIP,
    there were some warnings introduced, as the frequency values
    being checked was still wrt 200Mhz in code. Hence, the frequency
    checks are now updated based on the current 175Mhz EMMC clock changed
    in FIP.
    
    Spamming kernel log msg:
    "phy phy-20290000.mmc_phy.2: Unsupported rate: 43750000"
    
    Signed-off-by: Rashmi A <rashmi.a@xxxxxxxxx>
    Reviewed-by: Adrian Hunter <adrian.hunter@xxxxxxxxx>
    Acked-By: Vinod Koul <vkoul@xxxxxxxxxx>
    Link: https://lore.kernel.org/r/20210603182242.25733-3-rashmi.a@xxxxxxxxx
    Signed-off-by: Ulf Hansson <ulf.hansson@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/phy/intel/phy-intel-keembay-emmc.c b/drivers/phy/intel/phy-intel-keembay-emmc.c
index eb7c635ed89a..0eb11ac7c2e2 100644
--- a/drivers/phy/intel/phy-intel-keembay-emmc.c
+++ b/drivers/phy/intel/phy-intel-keembay-emmc.c
@@ -95,7 +95,8 @@ static int keembay_emmc_phy_power(struct phy *phy, bool on_off)
 	else
 		freqsel = 0x0;
 
-	if (mhz < 50 || mhz > 200)
+	/* Check for EMMC clock rate*/
+	if (mhz > 175)
 		dev_warn(&phy->dev, "Unsupported rate: %d MHz\n", mhz);
 
 	/*



[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