Skip to content
Commit e7f9e1fc authored by Siva Durga Prasad Paladugu's avatar Siva Durga Prasad Paladugu Committed by Marek Vasut
Browse files

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 d648a50c ("dwc3: move phy operation to core.c").

Signed-off-by: default avatarSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent 5739ef2b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment