Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 163277
b: refs/heads/master
c: c826933
h: refs/heads/master
i:
  163275: 1d91e63
v: v3
  • Loading branch information
Samuel Ortiz committed Sep 17, 2009
1 parent b1545d2 commit 60ee54a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d619bc143e311a738113dbbe7792bd032403939f
refs/heads/master: c82693317e4a34b2b3ed4220c6fca3e99a75b045
8 changes: 4 additions & 4 deletions trunk/drivers/mfd/twl4030-power.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ static u8 twl4030_start_script_address = 0x2b;
#define R_MEMORY_DATA PHY_TO_OFF_PM_MASTER(0x5a)

#define R_PROTECT_KEY 0x0E
#define KEY_1 0xC0
#define KEY_2 0x0C
#define R_KEY_1 0xC0
#define R_KEY_2 0x0C

/* resource configuration registers */

Expand Down Expand Up @@ -424,12 +424,12 @@ void __init twl4030_power_init(struct twl4030_power_data *twl4030_scripts)
struct twl4030_resconfig *resconfig;
u8 address = twl4030_start_script_address;

err = twl4030_i2c_write_u8(TWL4030_MODULE_PM_MASTER, KEY_1,
err = twl4030_i2c_write_u8(TWL4030_MODULE_PM_MASTER, R_KEY_1,
R_PROTECT_KEY);
if (err)
goto unlock;

err = twl4030_i2c_write_u8(TWL4030_MODULE_PM_MASTER, KEY_2,
err = twl4030_i2c_write_u8(TWL4030_MODULE_PM_MASTER, R_KEY_2,
R_PROTECT_KEY);
if (err)
goto unlock;
Expand Down

0 comments on commit 60ee54a

Please sign in to comment.