From: NeilBrown Date: Thu, 30 Jul 2015 00:11:24 +0000 (+1000) Subject: twl4030_charger: enable manual enable/disable of usb charging. X-Git-Tag: omap-for-v4.3/fixes-merge-window~37^2~8 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22d4c33f7335ddf6deda26630c78650e133bfe72;p=pandora-kernel.git twl4030_charger: enable manual enable/disable of usb charging. 'off' or 'auto' to /sys/class/power/twl4030_usb/mode will now enable or disable charging from USB port. Normally this is enabled on 'plug' and disabled on 'unplug'. Unplug will still disable charging. 'plug' will only enable it if 'auto' if selected. Acked-by: Pavel Machek Signed-off-by: NeilBrown Signed-off-by: Sebastian Reichel --- Reading git-diff-tree failed