usb: dwc3: fix the error returned with usb3_phy failure
authorRuchika Kharwar <ruchika@ti.com>
Thu, 4 Jul 2013 05:59:34 +0000 (00:59 -0500)
committerFelipe Balbi <balbi@ti.com>
Mon, 15 Jul 2013 10:00:24 +0000 (13:00 +0300)
commit315955d707b50c8aad20a32ec0dd4c9fe243cabe
treed05b8fe78fa940f8dc297505f1e9db1ee7e3df6e
parent1974d494dea05ea227cb42f5e918828801e237aa
usb: dwc3: fix the error returned with usb3_phy failure

When there is an error with the usb3_phy probe or absence, the error returned
is erroneously for usb2_phy.

Cc: <stable@vger.kernel.org>
Signed-off-by: Ruchika Kharwar <ruchika@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/core.c