aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/usb/cdns3/cdns3-imx.c
diff options
context:
space:
mode:
authorStanley Chang <stanley_chang@realtek.com>2023-05-10 15:51:29 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-05-13 18:05:43 +0900
commit424e02931e2bad6f8c442fd3d548379123bf1b13 (patch)
tree4257cbbeba5cdd0ba7c782323c4d0155756a647c /drivers/usb/cdns3/cdns3-imx.c
parentusb: dwc3: core: add support for realtek SoCs custom's global register start address (diff)
downloadwireguard-linux-424e02931e2bad6f8c442fd3d548379123bf1b13.tar.xz
wireguard-linux-424e02931e2bad6f8c442fd3d548379123bf1b13.zip
usb: xhci: plat: remove error log for failure to get usb-phy
Remove this log to avoid non-error conditions. If CONFIG_USB_PHY is disabled, the following error message appears: [ 0.231609] xhci-hcd f10f0000.usb3: xhci_plat_probe get usb3phy fail (ret=-6) [ 0.239716] xhci-hcd f10f8000.usb3: xhci_plat_probe get usb3phy fail (ret=-6) In this case, devm_usb_get_phy_by_phandle is declared static inline and returns -ENXIO. It is easy to pinpoint the failure to get the usb-phy using the debug log in drivers/usb/phy/phy.c. Therefore, it can be removed. Signed-off-by: Stanley Chang <stanley_chang@realtek.com> Tested-by: Klaus Kudielka <klaus.kudielka@gmail.com> Link: https://lore.kernel.org/r/20230510075129.28047-1-stanley_chang@realtek.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions