]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "usb: dwc3: Remove the checks of -ENOSYS"
authorThinh Nguyen <Thinh.Nguyen@synopsys.com>
Wed, 15 Jun 2022 01:07:25 +0000 (18:07 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Jun 2022 08:43:43 +0000 (10:43 +0200)
commit4f0b1f15985f394630a02a828386519ad2815d5e
tree06061db2fc7a98c9340498c403dedae669b52f1c
parent0742c5bb0389725c63bdd450e1f477c084a82459
Revert "usb: dwc3: Remove the checks of -ENOSYS"

This reverts commit 6f842f3560c38fae955631d76786bddc3e25d1fe.

If CONFIG_GENERIC_PHY is not enabled, then the devm_phy_get() returns
-ENOSYS. Don't remove this check.

Fixes: 6f842f3560c3 ("usb: dwc3: Remove the checks of -ENOSYS")
Cc: Kushagra Verma <kushagra765@outlook.com>
Signed-off-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Link: https://lore.kernel.org/r/eb1df7ef954b5af093c0528982db52a41df18615.1655255152.git.Thinh.Nguyen@synopsys.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/core.c