b94e349
From 80f13c7cb8c2b83b6b38a953ad69b91cab9dc614 Mon Sep 17 00:00:00 2001
b94e349
From: Josh Boyer <jwboyer@fedoraproject.org>
b94e349
Date: Sat, 25 Jan 2014 10:00:41 -0500
b94e349
Subject: [PATCH] usb: phy: Quiet unable to find transceiver message
b94e349
b94e349
commit 1ae5799ef6317 ("usb: hcd: Initialize USB phy if needed") allows
b94e349
the USB layer to initialize external PHYs if needed.  However, a PHY is
b94e349
not needed in all cases.  The usb_get_phy_device function will print
b94e349
an error message, "unable to find transceiver" but everything still
b94e349
functions normally.
b94e349
b94e349
Drop the severity of this message to pr_debug.
b94e349
b94e349
Signed-off-by: Josh Boyer <jwboyer@fedoraproject.org>
b94e349
---
b94e349
 drivers/usb/phy/phy.c | 2 +-
b94e349
 1 file changed, 1 insertion(+), 1 deletion(-)
b94e349
b94e349
diff --git a/drivers/usb/phy/phy.c b/drivers/usb/phy/phy.c
b94e349
index e6f61e4..c7fe880 100644
b94e349
--- a/drivers/usb/phy/phy.c
b94e349
+++ b/drivers/usb/phy/phy.c
b94e349
@@ -228,7 +228,7 @@ struct usb_phy *usb_get_phy_dev(struct device *dev, u8 index)
b94e349
 
b94e349
 	phy = __usb_find_phy_dev(dev, &phy_bind_list, index);
b94e349
 	if (IS_ERR(phy) || !try_module_get(phy->dev->driver->owner)) {
b94e349
-		pr_err("unable to find transceiver\n");
b94e349
+		pr_debug("unable to find transceiver\n");
b94e349
 		goto err0;
b94e349
 	}
b94e349
 
b94e349
-- 
b94e349
1.8.5.3
b94e349