VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Rashmi A <rashmi.a@intel.com> 2021-06-03 23:52:42 +0530 committer: Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2021-07-20 16:00:22 +0200 commit: af6365ae0991c304387cc0297beb55974f67a29f parent: e00d3efd53d0f9f63cd73b4bbf8888da944e1983
Commit Summary:
phy: intel: Fix for warnings due to EMMC clock 175Mhz change in FIP
Diffstat:
1 file changed, 2 insertions, 1 deletion
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);
 
 	/*