Re: [PATCH 10/15] twl4030_charger: only draw USB current as negotiated with host.

2015-03-02 Thread Pavel Machek
On Tue 2015-02-24 15:33:52, NeilBrown wrote: If the phy has been told what current it can draw, it tells us and now we use that number. Note that 'vbus_draw' is in mA, while usb_cur is in uA. Signed-off-by: NeilBrown ne...@suse.de Acked-by: Pavel Machek pa...@ucw.cz @@ -609,6 +610,7 @@

[PATCH 10/15] twl4030_charger: only draw USB current as negotiated with host.

2015-02-24 Thread NeilBrown
If the phy has been told what current it can draw, it tells us and now we use that number. Note that 'vbus_draw' is in mA, while usb_cur is in uA. Signed-off-by: NeilBrown ne...@suse.de --- drivers/power/twl4030_charger.c |5 + 1 file changed, 5 insertions(+) diff --git