diff options
Diffstat (limited to 'drivers/mfd/tc3589x.c')
-rw-r--r-- | drivers/mfd/tc3589x.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/mfd/tc3589x.c b/drivers/mfd/tc3589x.c index 708349a5c0e3..f000d2ed23e0 100644 --- a/drivers/mfd/tc3589x.c +++ b/drivers/mfd/tc3589x.c | |||
@@ -231,12 +231,15 @@ static int tc3589x_chip_init(struct tc3589x *tc3589x) | |||
231 | 231 | ||
232 | dev_info(tc3589x->dev, "manufacturer: %#x, version: %#x\n", manf, ver); | 232 | dev_info(tc3589x->dev, "manufacturer: %#x, version: %#x\n", manf, ver); |
233 | 233 | ||
234 | /* Put everything except the IRQ module into reset */ | 234 | /* |
235 | * Put everything except the IRQ module into reset; | ||
236 | * also spare the GPIO module for any pin initialization | ||
237 | * done during pre-kernel boot | ||
238 | */ | ||
235 | ret = tc3589x_reg_write(tc3589x, TC3589x_RSTCTRL, | 239 | ret = tc3589x_reg_write(tc3589x, TC3589x_RSTCTRL, |
236 | TC3589x_RSTCTRL_TIMRST | 240 | TC3589x_RSTCTRL_TIMRST |
237 | | TC3589x_RSTCTRL_ROTRST | 241 | | TC3589x_RSTCTRL_ROTRST |
238 | | TC3589x_RSTCTRL_KBDRST | 242 | | TC3589x_RSTCTRL_KBDRST); |
239 | | TC3589x_RSTCTRL_GPIRST); | ||
240 | if (ret < 0) | 243 | if (ret < 0) |
241 | return ret; | 244 | return ret; |
242 | 245 | ||