commit | a87103a6d4a91cbb9be49d3bbd2f35dcf5510da1 | [log] [tgz] |
---|---|---|
author | Matthias Kaehlcke <matthias.kaehlcke@tomtom.com> | Fri Apr 01 23:02:07 2011 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Wed Apr 13 16:48:17 2011 -0700 |
tree | d80a2847cbcea1600d9e2dc636b19e8e9f51fbb3 | |
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>