diff options
author | Thinh Nguyen <[email protected]> | 2022-06-14 18:07:25 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2022-06-21 10:43:43 +0200 |
commit | fb119dcb97f43cf2a6164094209a08e7e6cd6f08 (patch) | |
tree | 06061db2fc7a98c9340498c403dedae669b52f1c /drivers/usb/cdns3/cdns3-imx.c | |
parent | 22fe2b36493f195b3f705043877f6c1456f1fd90 (diff) |
Revert "usb: dwc3: Remove the checks of -ENOSYS"
This reverts commit df22ecc41b54def624735b83784857e708bd1502.
If CONFIG_GENERIC_PHY is not enabled, then the devm_phy_get() returns
-ENOSYS. Don't remove this check.
Fixes: df22ecc41b54 ("usb: dwc3: Remove the checks of -ENOSYS")
Cc: Kushagra Verma <[email protected]>
Signed-off-by: Thinh Nguyen <[email protected]>
Link: https://lore.kernel.org/r/eb1df7ef954b5af093c0528982db52a41df18615.1655255152.git.Thinh.Nguyen@synopsys.com
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions