summaryrefslogtreecommitdiffstats
path: root/drivers/usb/usbip
diff options
context:
space:
mode:
authorKushagra Verma <kushagra765@outlook.com>2022-06-03 13:52:15 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-06-10 11:22:44 +0200
commitdf22ecc41b54def624735b83784857e708bd1502 (patch)
tree612896b15a0c98a578aa7d23c923de33d0e0041e /drivers/usb/usbip
parent1e073e3ed9ff9ec14e7e360ed89a81256d895588 (diff)
downloadlinux-stable-df22ecc41b54def624735b83784857e708bd1502.tar.gz
linux-stable-df22ecc41b54def624735b83784857e708bd1502.tar.bz2
linux-stable-df22ecc41b54def624735b83784857e708bd1502.zip
usb: dwc3: Remove the checks of -ENOSYS
Commit 57303488cd37d ("usb: dwc3: adapt dwc3 core to use Generic PHY Framework") added if statements that check 'ret == -ENOSYS || ret == -ENODEV', but the function phy_get() which is called by devm_phy_get() returns the phy driver or -ENODEV if the phy driver was not found. So, remove the check of -ENOSYS in the if statements. Signed-off-by: Kushagra Verma <kushagra765@outlook.com> Link: https://lore.kernel.org/r/HK0PR01MB2801E19D4FE569545BB7592DF8A19@HK0PR01MB2801.apcprd01.prod.exchangelabs.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/usbip')
0 files changed, 0 insertions, 0 deletions