greybus: usb: renumber operation types
authorJohan Hovold <johan@hovoldconsulting.com>
Thu, 30 Jul 2015 18:30:37 +0000 (20:30 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 30 Jul 2015 20:49:49 +0000 (13:49 -0700)
Renumber the current operation types.

NOTE: Protocol change.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/usb.c

index 04c8783eb061b331a6b6249ee39d9862f10ab090..2a146d77ecdac25d0be34ac52a3d3d7a4b8264d4 100644 (file)
@@ -22,9 +22,9 @@
 /* Greybus USB request types */
 #define GB_USB_TYPE_INVALID            0x00
 #define GB_USB_TYPE_PROTOCOL_VERSION   0x01
-#define GB_USB_TYPE_HCD_STOP           0x02
-#define GB_USB_TYPE_HCD_START          0x03
-#define GB_USB_TYPE_HUB_CONTROL                0x07
+#define GB_USB_TYPE_HCD_START          0x02
+#define GB_USB_TYPE_HCD_STOP           0x03
+#define GB_USB_TYPE_HUB_CONTROL                0x04
 
 struct gb_usb_hub_control_request {
        __le16 typeReq;