]> git.ipfire.org Git - thirdparty/u-boot.git/commit
usb: dwc3: Handle case where setup_phy is not needed
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Mon, 1 Apr 2019 08:49:20 +0000 (14:19 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 1 Apr 2019 08:51:55 +0000 (10:51 +0200)
commit6cb094f4bdbf49249529d188e9c72d98bf760c95
tree3a20d6c4b5cae8f9fdbc9490d39dc33d13e66171
parentb43da3d470a4c9ea0c49cd7f253657304000840f
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.

Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/usb/dwc3/dwc3-generic.c