aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb/omap2430.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/musb/omap2430.c')
-rw-r--r--drivers/usb/musb/omap2430.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/musb/omap2430.c b/drivers/usb/musb/omap2430.c
index 2813490ba631..5fdb9da8dd56 100644
--- a/drivers/usb/musb/omap2430.c
+++ b/drivers/usb/musb/omap2430.c
@@ -320,7 +320,7 @@ static int omap2430_musb_init(struct musb *musb)
320 * which needs a driver, drivers aren't always needed. 320 * which needs a driver, drivers aren't always needed.
321 */ 321 */
322 musb->xceiv = devm_usb_get_phy(dev, USB_PHY_TYPE_USB2); 322 musb->xceiv = devm_usb_get_phy(dev, USB_PHY_TYPE_USB2);
323 if (!musb->xceiv) { 323 if (IS_ERR_OR_NULL(musb->xceiv)) {
324 pr_err("HS USB OTG: no transceiver configured\n"); 324 pr_err("HS USB OTG: no transceiver configured\n");
325 return -ENODEV; 325 return -ENODEV;
326 } 326 }