Re: [PATCH v8 4/4] power: wm831x_power: Support USB charger current limit management

2016-03-27 Thread Geert Uytterhoeven
On Thu, Mar 24, 2016 at 1:35 PM, Baolin Wang wrote: > --- a/drivers/power/wm831x_power.c > +++ b/drivers/power/wm831x_power.c > @@ -13,6 +13,7 @@ > #include > #include > #include > +#include > > #include > #include > @@ -31,6 +32,8 @@ struct wm831x_power { >

Re: [PATCH v8 4/4] power: wm831x_power: Support USB charger current limit management

2016-03-26 Thread kbuild test robot
Hi Baolin, [auto build test ERROR on v4.5-rc7] [also build test ERROR on next-20160324] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url:

[PATCH v8 4/4] power: wm831x_power: Support USB charger current limit management

2016-03-24 Thread Baolin Wang
Integrate with the newly added USB charger interface to limit the current we draw from the USB input based on the input device configuration identified by the USB stack, allowing us to charge more quickly from high current inputs without drawing more current than specified from others.