diff mbox

usb: musb: omap2430: make complain on -EPROBE_DEFER dev_dbg

Message ID 20161109141026.GF20859@localhost.localdomain (mailing list archive)
State New, archived
Headers show

Commit Message

Ladislav Michl Nov. 9, 2016, 2:10 p.m. UTC
There is no point having this complaint to be dev_err as it is just adding
noise to bootlog.

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
---
 drivers/usb/musb/omap2430.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Tony Lindgren Nov. 9, 2016, 5:48 p.m. UTC | #1
* Ladislav Michl <ladis@linux-mips.org> [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 <tony@atomide.com>

> Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
> ---
>  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-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Bin Liu Nov. 15, 2016, 9:13 p.m. UTC | #2
On Wed, Nov 09, 2016 at 10:48:48AM -0700, Tony Lindgren wrote:
> * Ladislav Michl <ladis@linux-mips.org> [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 <tony@atomide.com>

Applied. Thanks.
-Bin.

> 
> > Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
> > ---
> >  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-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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;
 	}