From: Johan Hovold Date: Thu, 30 Jul 2015 18:30:41 +0000 (+0200) Subject: greybus: usb: disable protocol driver X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a96493560cd16095fd00a936bfa9de8614bab842;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git greybus: usb: disable protocol driver The USB bridged-PHY protocol driver currently depends on changes to USB core that are not yet upstream. Disable for now. Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/greybus/usb.c b/drivers/staging/greybus/usb.c index 17a5d7a5a824..50173b96f712 100644 --- a/drivers/staging/greybus/usb.c +++ b/drivers/staging/greybus/usb.c @@ -190,6 +190,18 @@ static int gb_usb_connection_init(struct gb_connection *connection) hcd->has_tt = 1; + /* + * FIXME: The USB bridged-PHY protocol driver depends on changes to + * USB core which are not yet upstream. + * + * Disable for now. + */ + if (1) { + dev_warn(&connection->dev, "USB protocol disabled\n"); + retval = -EPROTONOSUPPORT; + goto err_put_hcd; + } + retval = usb_add_hcd(hcd, 0, 0); if (retval) goto err_put_hcd;