Commit a9649356 authored by Johan Hovold's avatar Johan Hovold Committed by Greg Kroah-Hartman

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: default avatarJohan Hovold <johan@hovoldconsulting.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent a422ecd2
...@@ -190,6 +190,18 @@ static int gb_usb_connection_init(struct gb_connection *connection) ...@@ -190,6 +190,18 @@ static int gb_usb_connection_init(struct gb_connection *connection)
hcd->has_tt = 1; 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); retval = usb_add_hcd(hcd, 0, 0);
if (retval) if (retval)
goto err_put_hcd; goto err_put_hcd;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment