Re: [PATCH 04/12] usb: phy: ab8500-usb: fix eye diagram for ab8500v2.0

From: Felipe Balbi
Date: Wed Apr 03 2013 - 04:59:22 EST


On Wed, Apr 03, 2013 at 11:53:36AM +0300, Felipe Balbi wrote:
> On Wed, Apr 03, 2013 at 10:45:05AM +0200, Fabio Baltieri wrote:
> > From: Sakethram Bommisetti <sakethram.bommisetti@xxxxxxxxxxxxxx>
> >
> > AB8500 v2.0 has eye diagram issues when drawing more than 100mA from
> > VBUS. Force charging current to 100mA in case of standard host.
> >
> > Signed-off-by: Sakethram Bommisetti <sakethram.bommisetti@xxxxxxxxxxxxxx>
> > Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
> > Signed-off-by: Fabio Baltieri <fabio.baltieri@xxxxxxxxxx>
> > ---
> > drivers/usb/phy/phy-ab8500-usb.c | 14 ++++++++++++++
> > 1 file changed, 14 insertions(+)
> >
> > diff --git a/drivers/usb/phy/phy-ab8500-usb.c b/drivers/usb/phy/phy-ab8500-usb.c
> > index 5b92a59..1fd0780 100644
> > --- a/drivers/usb/phy/phy-ab8500-usb.c
> > +++ b/drivers/usb/phy/phy-ab8500-usb.c
> > @@ -485,6 +485,18 @@ static void ab8500_usb_phy_disable_work(struct work_struct *work)
> > ab8500_usb_peri_phy_dis(ab);
> > }
> >
> > +static unsigned ab8500_eyediagram_workaroud(struct ab8500_usb *ab, unsigned mA)
> > +{
> > + /* AB8500 V2 has eye diagram issues when drawing more than 100mA from
>
> wrong comment style. Please run *all* patches through checkpatch.pl
> --strict and sparse. I can wait 2 more hours before closing my tree for
> v3.10.

you know what ? this is simple enough, I'll fix it myself.

--
balbi

Attachment: signature.asc
Description: Digital signature