diff options
author | Josh Boyer <jwboyer@fedoraproject.org> | 2014-01-25 10:08:24 -0500 |
---|---|---|
committer | Josh Boyer <jwboyer@fedoraproject.org> | 2014-01-25 15:08:26 -0500 |
commit | b94e3495cf490e0edbf7bedfad543411eacb87a8 (patch) | |
tree | 89b26e4a03141fa1ab2d73471646d6225b51fa42 /0001-usb-phy-Quiet-unable-to-find-transceiver-message.patch | |
parent | b7897ab1e47fa1a40adfe575279ca881aad8ecdd (diff) | |
download | kernel-b94e3495cf490e0edbf7bedfad543411eacb87a8.tar.gz kernel-b94e3495cf490e0edbf7bedfad543411eacb87a8.tar.xz kernel-b94e3495cf490e0edbf7bedfad543411eacb87a8.zip |
Linux v3.13-6058-g2d08cd0
- Quiet incorrect usb phy error (rhbz 1057529)
Diffstat (limited to '0001-usb-phy-Quiet-unable-to-find-transceiver-message.patch')
-rw-r--r-- | 0001-usb-phy-Quiet-unable-to-find-transceiver-message.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/0001-usb-phy-Quiet-unable-to-find-transceiver-message.patch b/0001-usb-phy-Quiet-unable-to-find-transceiver-message.patch new file mode 100644 index 00000000..431ad19f --- /dev/null +++ b/0001-usb-phy-Quiet-unable-to-find-transceiver-message.patch @@ -0,0 +1,34 @@ +From 80f13c7cb8c2b83b6b38a953ad69b91cab9dc614 Mon Sep 17 00:00:00 2001 +From: Josh Boyer <jwboyer@fedoraproject.org> +Date: Sat, 25 Jan 2014 10:00:41 -0500 +Subject: [PATCH] usb: phy: Quiet unable to find transceiver message + +commit 1ae5799ef6317 ("usb: hcd: Initialize USB phy if needed") allows +the USB layer to initialize external PHYs if needed. However, a PHY is +not needed in all cases. The usb_get_phy_device function will print +an error message, "unable to find transceiver" but everything still +functions normally. + +Drop the severity of this message to pr_debug. + +Signed-off-by: Josh Boyer <jwboyer@fedoraproject.org> +--- + drivers/usb/phy/phy.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/drivers/usb/phy/phy.c b/drivers/usb/phy/phy.c +index e6f61e4..c7fe880 100644 +--- a/drivers/usb/phy/phy.c ++++ b/drivers/usb/phy/phy.c +@@ -228,7 +228,7 @@ struct usb_phy *usb_get_phy_dev(struct device *dev, u8 index) + + phy = __usb_find_phy_dev(dev, &phy_bind_list, index); + if (IS_ERR(phy) || !try_module_get(phy->dev->driver->owner)) { +- pr_err("unable to find transceiver\n"); ++ pr_debug("unable to find transceiver\n"); + goto err0; + } + +-- +1.8.5.3 + |