twl4030_charger: Allow charger to control the regulator that feeds it
authorNeilBrown <neilb@suse.de>
Tue, 8 May 2012 21:40:40 +0000 (07:40 +1000)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Wed, 20 Jun 2012 02:13:27 +0000 (19:13 -0700)
commitab37813f4093a5f59cb8e083cde277289dc72ed3
tree2b91baca976e3d1d2c92a8eb3ede3a8a693b71e8
parent210d4bc8a3128e3e61ac3bf4657114f8e6450e2a
twl4030_charger: Allow charger to control the regulator that feeds it

The charger needs usb3v1 to be running, so add a new consumer to
keep it running.

This allows the charger to draw current even when the USB driver has
powered down.

Signed-off-by: NeilBrown <neilb@suse.de>
Acked-by: Tero Kristo <t-kristo@ti.com>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
drivers/mfd/twl-core.c
drivers/power/twl4030_charger.c