Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 226024
b: refs/heads/master
c: 523bc38
h: refs/heads/master
v: v3
  • Loading branch information
Sundar Iyer authored and Linus Walleij committed Dec 19, 2010
1 parent eb7e51a commit 32b2ee2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 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: bd77efd0cea80865d4cfcc1e4b62789c51a74b2d
refs/heads/master: 523bc3820f023169671e9726b8dc075669d14bec
9 changes: 6 additions & 3 deletions trunk/drivers/mfd/tc3589x.c
Original file line number Diff line number Diff line change
Expand Up @@ -231,12 +231,15 @@ static int tc3589x_chip_init(struct tc3589x *tc3589x)

dev_info(tc3589x->dev, "manufacturer: %#x, version: %#x\n", manf, ver);

/* Put everything except the IRQ module into reset */
/*
* Put everything except the IRQ module into reset;
* also spare the GPIO module for any pin initialization
* done during pre-kernel boot
*/
ret = tc3589x_reg_write(tc3589x, TC3589x_RSTCTRL,
TC3589x_RSTCTRL_TIMRST
| TC3589x_RSTCTRL_ROTRST
| TC3589x_RSTCTRL_KBDRST
| TC3589x_RSTCTRL_GPIRST);
| TC3589x_RSTCTRL_KBDRST);
if (ret < 0)
return ret;

Expand Down

0 comments on commit 32b2ee2

Please sign in to comment.