greybus: greybus_protocol: fix order of sdio get caps response

Order of the field of the sdio get caps operation response were wrong,
that influence later the frequencies used by core, during normal
operation.

Tested: verified that the values inserted by the fw are the correct ones
for the field.

Suggested-by: Jackson Chang <jacksonc@bsquare.com>
Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Rui Miguel Silva 2016-08-09 23:35:34 +01:00 committed by Greg Kroah-Hartman
parent 4523eae6f8
commit 64f28ada93

View File

@ -1540,10 +1540,10 @@ struct gb_sdio_get_caps_response {
/* see possible values below at vdd */
__le32 ocr;
__le16 max_blk_count;
__le16 max_blk_size;
__le32 f_min;
__le32 f_max;
__le16 max_blk_count;
__le16 max_blk_size;
} __packed;
/* set ios request: response has no payload */