summaryrefslogtreecommitdiff
path: root/drivers/power/pda_power.c
diff options
context:
space:
mode:
authorNeilBrown <neil@brown.name>2015-07-30 03:11:24 +0300
committerSebastian Reichel <sre@kernel.org>2015-08-05 06:20:36 +0300
commit22d4c33f7335ddf6deda26630c78650e133bfe72 (patch)
tree1206e8ba5bc4e273c1125e039035cd7c4a23705f /drivers/power/pda_power.c
parentaca3c3546396b305fff79f09883cff48a908aac0 (diff)
downloadlinux-22d4c33f7335ddf6deda26630c78650e133bfe72.tar.xz
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 <pavel@ucw.cz> Signed-off-by: NeilBrown <neil@brown.name> Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/power/pda_power.c')
0 files changed, 0 insertions, 0 deletions