From: Rui Miguel Silva Date: Thu, 20 Aug 2015 14:20:17 +0000 (+0100) Subject: greybus: sdio: fix command type defines X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2d465d57c8bbb0da96f352447e283e06bfa8513c;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 --- 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;