summaryrefslogtreecommitdiff
path: root/drivers/usb/renesas_usbhs/mod_gadget.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-05 09:07:58 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-05 09:07:58 +0300
commit9b0dd49e3565ddc71346ba7d57079ee6233d0780 (patch)
tree1da29301348a4586351ead3443513816fcc19819 /drivers/usb/renesas_usbhs/mod_gadget.c
parent3112fdde68fa4a3b0b3a3a738f9f32b4d62fdf05 (diff)
parentc6935931c1894ff857616ff8549b61236a19148f (diff)
downloadlinux-9b0dd49e3565ddc71346ba7d57079ee6233d0780.tar.xz
Merge 4.8-rc5 into usb-testing
We want the USB fixes in here for testing and merge issues. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/renesas_usbhs/mod_gadget.c')
-rw-r--r--drivers/usb/renesas_usbhs/mod_gadget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/renesas_usbhs/mod_gadget.c b/drivers/usb/renesas_usbhs/mod_gadget.c
index 8e326ac00c9f..86b37a8eedd4 100644
--- a/drivers/usb/renesas_usbhs/mod_gadget.c
+++ b/drivers/usb/renesas_usbhs/mod_gadget.c
@@ -1072,7 +1072,7 @@ int usbhs_mod_gadget_probe(struct usbhs_priv *priv)
gpriv->transceiver = usb_get_phy(USB_PHY_TYPE_UNDEFINED);
dev_info(dev, "%stransceiver found\n",
- gpriv->transceiver ? "" : "no ");
+ !IS_ERR(gpriv->transceiver) ? "" : "no ");
/*
* CAUTION