commit | c37f8f3d059320db1a8e68cd6752410f3e3d67f8 | [log] [tgz] |
---|---|---|
author | Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> | Wed Oct 21 14:17:31 2020 +0200 |
committer | Marek Vasut <marex@denx.de> | Sun Nov 22 13:18:20 2020 +0100 |
tree | 93f56f0c8bd61e57c24412312f8814e47514f465 | |
parent | 99df7a55ceef74bb8c9e1c2602df0511c9486815 [diff] |
usb: dwc3: Handle case where setup_phy is not needed If CONFIG_PHY is not enabled then the dwc3_setup_phy() returns ENOTSUPP which can be still valid and intentional so modify error check to handle this -ENOTSUPP. The same error handling exists in drivers/usb/host/xhci-dwc3.c already added by commit d648a50c0a27 ("dwc3: move phy operation to core.c"). Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>