From: Matthias Kaehlcke Date: Fri, 1 Apr 2011 21:02:07 +0000 (+0200) Subject: USB: twl4030-usb: Report correct vbus value for accessory charger adapters1 X-Git-Tag: v3.0-rc1~337^2~138^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a87103a6d4a91cbb9be49d3bbd2f35dcf5510da1;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed