All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: mx6: Only check for 1.2GHz for mx6quad
@ 2014-07-01  3:12 Fabio Estevam
  2014-07-01  9:21 ` Shawn Guo
  0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2014-07-01  3:12 UTC (permalink / raw)
  To: linux-arm-kernel

From: Fabio Estevam <fabio.estevam@freescale.com>

It is only the mx6quad variant that can run up to 1.2GHz, so add the check 
accordingly.

This avoids getting the following warning on a mx6solo:

failed to disable 1.2 GHz OPP

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 arch/arm/mach-imx/mach-imx6q.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-imx/mach-imx6q.c b/arch/arm/mach-imx/mach-imx6q.c
index e60456d..9b3a233 100644
--- a/arch/arm/mach-imx/mach-imx6q.c
+++ b/arch/arm/mach-imx/mach-imx6q.c
@@ -320,7 +320,7 @@ static void __init imx6q_opp_check_speed_grading(struct device *cpu_dev)
 	val >>= OCOTP_CFG3_SPEED_SHIFT;
 	val &= 0x3;
 
-	if (val != OCOTP_CFG3_SPEED_1P2GHZ)
+	if ((val != OCOTP_CFG3_SPEED_1P2GHZ) && cpu_is_imx6q())
 		if (dev_pm_opp_disable(cpu_dev, 1200000000))
 			pr_warn("failed to disable 1.2 GHz OPP\n");
 	if (val < OCOTP_CFG3_SPEED_996MHZ)
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] ARM: mx6: Only check for 1.2GHz for mx6quad
  2014-07-01  3:12 [PATCH] ARM: mx6: Only check for 1.2GHz for mx6quad Fabio Estevam
@ 2014-07-01  9:21 ` Shawn Guo
  0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2014-07-01  9:21 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, Jul 01, 2014 at 12:12:52AM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
> 
> It is only the mx6quad variant that can run up to 1.2GHz, so add the check 
> accordingly.
> 
> This avoids getting the following warning on a mx6solo:
> 
> failed to disable 1.2 GHz OPP
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>

Applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-07-01  9:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-01  3:12 [PATCH] ARM: mx6: Only check for 1.2GHz for mx6quad Fabio Estevam
2014-07-01  9:21 ` Shawn Guo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.