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>
parent
aca3c354
Please register or sign in to comment