From 2d465d57c8bbb0da96f352447e283e06bfa8513c Mon Sep 17 00:00:00 2001 From: Rui Miguel Silva Date: Thu, 20 Aug 2015 15:20:17 +0100 Subject: [PATCH] greybus: sdio: fix command type defines 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 Signed-off-by: Johan Hovold --- drivers/staging/greybus/greybus_protocols.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/greybus/greybus_protocols.h b/drivers/staging/greybus/greybus_protocols.h index 0c11bec39065..b84c710da4a9 100644 --- a/drivers/staging/greybus/greybus_protocols.h +++ b/drivers/staging/greybus/greybus_protocols.h @@ -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; -- 2.20.1