summaryrefslogtreecommitdiff
path: root/drivers/power/axp221.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-03-27 23:46:00 +0300
committerHans de Goede <hdegoede@redhat.com>2015-04-15 17:17:17 +0300
commita0e2b1b8659b041ce368ee0644a410d3ce7c1f8c (patch)
tree089dc9408f5fce61d16ab984785248181f71500f /drivers/power/axp221.c
parent046ea8b390f9c8986f52e4bd2c7bffabd4749330 (diff)
downloadu-boot-a0e2b1b8659b041ce368ee0644a410d3ce7c1f8c.tar.xz
sunxi: usbc: Wait for vbus to fall after disabling it
When u-boot boots the board may be powering vbus, we turn off vbus in sunxi_usbc_request_resources, if we are too quick with reading vusb-detect after this we may see a residual charge and assume we've an external vusb connected even though we do not. So when we see an external vusb wait a bit and try again. Without this when dealing with a pmic controller vbus and doing "reset" on the u-boot console the musb host will only init once every other boot, because the other boot it thinks an external vbus is present, this commit fixes this. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'drivers/power/axp221.c')
0 files changed, 0 insertions, 0 deletions