[PATCH 2/5] glamo-core: fix registers in init script

Thibaut Girka thib at sitedethib.com
Fri Jun 25 20:17:17 CEST 2010


---
 drivers/mfd/glamo-core.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/mfd/glamo-core.c b/drivers/mfd/glamo-core.c
index 8f02a81..2ee8842 100644
--- a/drivers/mfd/glamo-core.c
+++ b/drivers/mfd/glamo-core.c
@@ -838,8 +838,8 @@ static const struct glamo_script glamo_init_script[] = {
 	 * b7..b4 = 0 = no wait states on read or write
 	 * b0 = 1 select PLL2 for Host interface, b1 = enable it
 	 */
-	{ GLAMO_REG_HOSTBUS(0),		0x0e03 /* this is replaced by script parser */ },
-	{ GLAMO_REG_HOSTBUS(1),		0x07ff }, /* TODO: Disable all */
+	{ GLAMO_REG_HOSTBUS(1),		0x0e03 /* this is replaced by script parser */ },
+	{ GLAMO_REG_HOSTBUS(2),		0x07ff }, /* TODO: Disable all */
 	{ GLAMO_REG_HOSTBUS(10),	0x0000 },
 	{ GLAMO_REG_HOSTBUS(11),	0x4000 },
 	{ GLAMO_REG_HOSTBUS(12),	0xf00e },
-- 
1.7.1




More information about the openmoko-kernel mailing list