diff options
author | Vic Yang <victoryang@chromium.org> | 2013-06-05 14:13:49 +0800 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-06-05 11:25:08 -0700 |
commit | 127b0531099f1a4ccc3dab333fdb44e792f13e74 (patch) | |
tree | b88c64453d58abcf047cee0c3d9021ea16494a04 | |
parent | d07b0d5a5fdb1abb535f39ef2654b52c29a48fba (diff) | |
download | chrome-ec-127b0531099f1a4ccc3dab333fdb44e792f13e74.tar.gz |
Reset TSU6721 on initialization
Sometimes TSU6721 falls into a weird state where video dongle is
recognized as non-standard charger. Let's reset TSU6721 when EC boots,
so that we are guaranteed to have a clean state after initialization.
BUG=None
TEST=Keep doing Power+F3 reset. Doesn't see weird state anymore.
BRANCH=spring
Change-Id: Id09bb1721ae79804dc9b3300a2f3def850c2f70a
Signed-off-by: Vic Yang <victoryang@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/57575
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
-rw-r--r-- | common/extpower_usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/extpower_usb.c b/common/extpower_usb.c index 9e87814f26..7fdff81fa2 100644 --- a/common/extpower_usb.c +++ b/common/extpower_usb.c @@ -570,7 +570,7 @@ void extpower_charge_init(void) */ msleep(500); - tsu6721_init(); + tsu6721_reset(); gpio_enable_interrupt(GPIO_USB_CHG_INT); msleep(100); /* TSU6721 doesn't work properly right away. */ |