diff options
author | Matthias Kaehlcke <matthias.kaehlcke@tomtom.com> | 2011-04-01 23:02:07 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-04-13 16:48:17 -0700 |
commit | a87103a6d4a91cbb9be49d3bbd2f35dcf5510da1 (patch) | |
tree | d80a2847cbcea1600d9e2dc636b19e8e9f51fbb3 /drivers/usb/serial/sam-ba.c | |
parent | 0b0cd6c81defc4e4fccb9e9103666547fefdb9c0 (diff) |
USB: twl4030-usb: Report correct vbus value for accessory charger adapters1
The twl4030-usb driver exports the status of VBUS as sysfs attribute.
In case an accessory charger adapter (ACA) is connected to the OTG
transceiver the attribute is always 'off', even when the charger
provides VBUS. Added a variable to keep track of the status of VBUS
and report it correctly
Signed-off-by: Matthias Kaehlcke <matthias.kaehlcke@tomtom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/sam-ba.c')
0 files changed, 0 insertions, 0 deletions