Commit 2d465d57 authored by Rui Miguel Silva's avatar Rui Miguel Silva Committed by Johan Hovold

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: default avatarRui Miguel Silva <rui.silva@linaro.org>
Signed-off-by: default avatarJohan Hovold <johan@hovoldconsulting.com>
parent af0b4d5a
...@@ -1031,8 +1031,8 @@ struct gb_sdio_command_request { ...@@ -1031,8 +1031,8 @@ struct gb_sdio_command_request {
__u8 cmd_type; __u8 cmd_type;
#define GB_SDIO_CMD_AC 0x00 #define GB_SDIO_CMD_AC 0x00
#define GB_SDIO_CMD_ADTC 0x01 #define GB_SDIO_CMD_ADTC 0x01
#define GB_SDIO_CMD_BCR 0x02 #define GB_SDIO_CMD_BC 0x02
#define GB_SDIO_CMD_BC 0x03 #define GB_SDIO_CMD_BCR 0x03
__le32 cmd_arg; __le32 cmd_arg;
} __packed; } __packed;
......
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