[PATCH] clk: tegra: Fix typo in PLLE_MISC VREG_CTRL define

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The mask of PLLE_MISC_VREG_CTRL was defined to be 2, which
clearly cannot be a mask. Documentation shows that the field
is 2 bits long, so change this to 3.

Signed-off-by: Mikko Perttunen <mperttunen@xxxxxxxxxx>
---
 drivers/clk/tegra/clk-pll.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/tegra/clk-pll.c b/drivers/clk/tegra/clk-pll.c
index 637b62c..e7f79fa 100644
--- a/drivers/clk/tegra/clk-pll.c
+++ b/drivers/clk/tegra/clk-pll.c
@@ -116,7 +116,7 @@
 #define PLLE_MISC_VREG_BG_CTRL_SHIFT	4
 #define PLLE_MISC_VREG_BG_CTRL_MASK	(3 << PLLE_MISC_VREG_BG_CTRL_SHIFT)
 #define PLLE_MISC_VREG_CTRL_SHIFT	2
-#define PLLE_MISC_VREG_CTRL_MASK	(2 << PLLE_MISC_VREG_CTRL_SHIFT)
+#define PLLE_MISC_VREG_CTRL_MASK	(3 << PLLE_MISC_VREG_CTRL_SHIFT)
 
 #define PLLCX_MISC_STROBE	BIT(31)
 #define PLLCX_MISC_RESET	BIT(30)
-- 
1.8.1.5

--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux