greybus: sdio: fix command type defines
authorRui Miguel Silva <rui.silva@linaro.org>
Thu, 20 Aug 2015 14:20:17 +0000 (15:20 +0100)
committerJohan Hovold <johan@hovoldconsulting.com>
Tue, 1 Sep 2015 12:54:41 +0000 (14:54 +0200)
Broadcast command with response and without response where swapped
related to what is defined in greybus specification.

Make it coherent with the document.

Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
drivers/staging/greybus/greybus_protocols.h

index 0c11bec39065670225059aa30a2541d0221a9ccd..b84c710da4a9d01aff56d168bf169670c06feda0 100644 (file)
@@ -1031,8 +1031,8 @@ struct gb_sdio_command_request {
        __u8    cmd_type;
 #define GB_SDIO_CMD_AC         0x00
 #define GB_SDIO_CMD_ADTC       0x01
-#define GB_SDIO_CMD_BCR                0x02
-#define GB_SDIO_CMD_BC         0x03
+#define GB_SDIO_CMD_BC         0x02
+#define GB_SDIO_CMD_BCR                0x03
 
        __le32  cmd_arg;
 } __packed;