Skip to contentSkip to conversation

PROTECT_KEY register is in the PM_MASTER module not in the PM_RECEIVER module

PATCH In review Peter 'p2' De Schrijver 2 participants 2 messages Jul 16, 2008 – Aug 4, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 PROTECT_KEY register is in the PM_MASTER module not in the PM_RECEIVER module

This patch fixes a write to the wrong address in the triton2 chip.

---
 drivers/i2c/chips/twl4030-usb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/i2c/chips/twl4030-usb.c +1 -1
index ab335ca..20858b5 100644
@@ -586,7 +586,7 @@ static void twl4030_usb_ldo_init(struct twl4030_usb *twl)
 	twl4030_i2c_write_u8(TWL4030_MODULE_PM_RECEIVER, 0, VUSB1V8_TYPE);
 
 	/* disable access to power configuration registers */
-	twl4030_i2c_write_u8(TWL4030_MODULE_PM_RECEIVER, 0, PROTECT_KEY);
+	twl4030_i2c_write_u8(TWL4030_MODULE_PM_MASTER, 0, PROTECT_KEY);
 }
 
 static irqreturn_t twl4030_usb_irq(int irq, void *_twl)
Signature · 1 line
1.5.3.4
#1 lore raw
Quoted 1 line · * Peter 'p2' De Schrijver <[email protected]> [080716 19:53]:

This patch fixes a write to the wrong address in the triton2 chip.

Pushing today.

Tony

Quoted 25 lines
---
 drivers/i2c/chips/twl4030-usb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/i2c/chips/twl4030-usb.c +1 -1
index ab335ca..20858b5 100644
@@ -586,7 +586,7 @@ static void twl4030_usb_ldo_init(struct twl4030_usb *twl)
 	twl4030_i2c_write_u8(TWL4030_MODULE_PM_RECEIVER, 0, VUSB1V8_TYPE);
 
 	/* disable access to power configuration registers */
-	twl4030_i2c_write_u8(TWL4030_MODULE_PM_RECEIVER, 0, PROTECT_KEY);
+	twl4030_i2c_write_u8(TWL4030_MODULE_PM_MASTER, 0, PROTECT_KEY);
 }
 
 static irqreturn_t twl4030_usb_irq(int irq, void *_twl)
Signature · 6 lines
1.5.3.4

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html