Re: [PATCH] usb: musb: omap2430: make complain on -EPROBE_DEFER dev_dbg

2016-11-15 Thread Bin Liu
On Wed, Nov 09, 2016 at 10:48:48AM -0700, Tony Lindgren wrote:
> * Ladislav Michl  [161109 07:11]:
> > There is no point having this complaint to be dev_err as it is just adding
> > noise to bootlog.
> 
> Acked-by: Tony Lindgren 

Applied. Thanks.
-Bin.

> 
> > Signed-off-by: Ladislav Michl 
> > ---
> >  drivers/usb/musb/omap2430.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/drivers/usb/musb/omap2430.c b/drivers/usb/musb/omap2430.c
> > index 451b372..7c9aa5e 100644
> > --- a/drivers/usb/musb/omap2430.c
> > +++ b/drivers/usb/musb/omap2430.c
> > @@ -277,7 +277,7 @@ static int omap2430_musb_init(struct musb *musb)
> > if (status == -ENXIO)
> > return status;
> >  
> > -   dev_err(dev, "HS USB OTG: no transceiver configured\n");
> > +   dev_dbg(dev, "HS USB OTG: no transceiver configured\n");
> > return -EPROBE_DEFER;
> > }
> >  
> > -- 
> > 2.1.4
> > 
> > 
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] usb: musb: omap2430: make complain on -EPROBE_DEFER dev_dbg

2016-11-09 Thread Tony Lindgren
* Ladislav Michl  [161109 07:11]:
> There is no point having this complaint to be dev_err as it is just adding
> noise to bootlog.

Acked-by: Tony Lindgren 

> Signed-off-by: Ladislav Michl 
> ---
>  drivers/usb/musb/omap2430.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/usb/musb/omap2430.c b/drivers/usb/musb/omap2430.c
> index 451b372..7c9aa5e 100644
> --- a/drivers/usb/musb/omap2430.c
> +++ b/drivers/usb/musb/omap2430.c
> @@ -277,7 +277,7 @@ static int omap2430_musb_init(struct musb *musb)
>   if (status == -ENXIO)
>   return status;
>  
> - dev_err(dev, "HS USB OTG: no transceiver configured\n");
> + dev_dbg(dev, "HS USB OTG: no transceiver configured\n");
>   return -EPROBE_DEFER;
>   }
>  
> -- 
> 2.1.4
> 
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH] usb: musb: omap2430: make complain on -EPROBE_DEFER dev_dbg

2016-11-09 Thread Ladislav Michl
There is no point having this complaint to be dev_err as it is just adding
noise to bootlog.

Signed-off-by: Ladislav Michl 
---
 drivers/usb/musb/omap2430.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/musb/omap2430.c b/drivers/usb/musb/omap2430.c
index 451b372..7c9aa5e 100644
--- a/drivers/usb/musb/omap2430.c
+++ b/drivers/usb/musb/omap2430.c
@@ -277,7 +277,7 @@ static int omap2430_musb_init(struct musb *musb)
if (status == -ENXIO)
return status;
 
-   dev_err(dev, "HS USB OTG: no transceiver configured\n");
+   dev_dbg(dev, "HS USB OTG: no transceiver configured\n");
return -EPROBE_DEFER;
}
 
-- 
2.1.4


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html