Skip to contentSkip to conversation

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

PATCH Applied Ladislav Michl 3 participants 3 messages Nov 9, 2016 – Nov 15, 2016 2 messages not in the archive

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 usb: musb: omap2430: make complain on -EPROBE_DEFER dev_dbg

There is no point having this complaint to be dev_err as it is just adding noise to bootlog.

---
 drivers/usb/musb/omap2430.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/musb/omap2430.c +1 -1
index 451b372..7c9aa5e 100644
@@ -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;
 	}
 
Signature · 7 lines
2.1.4


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

A message that is not in the archive (sent off-list or not yet received): 20161109141026.GF20859-bi+AKbBUZKY6gyzm1THtWbp2dZbC/[email protected]

Acked-by
#2 lore raw
Quoted 2 lines · Ladislav Michl

There is no point having this complaint to be dev_err as it is just adding noise to bootlog.

Quoted 22 lines
---
 drivers/usb/musb/omap2430.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/musb/omap2430.c +1 -1
index 451b372..7c9aa5e 100644
@@ -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;
 	}
 
Signature · 1 line
2.1.4

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

A message that is not in the archive (sent off-list or not yet received): [email protected]

Applied
#4 lore raw
Quoted 5 lines · Tony Lindgren
Quoted 2 lines · Ladislav Michl

There is no point having this complaint to be dev_err as it is just adding noise to bootlog.

Applied. Thanks.
-Bin.

Quoted 19 lines
Quoted 19 lines
---
 drivers/usb/musb/omap2430.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/musb/omap2430.c +1 -1
index 451b372..7c9aa5e 100644
@@ -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;
 	}
 
Quoted 4 lines
Quoted 4 lines
Signature · 1 line
2.1.4

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