diff options
author | Rui Miguel Silva <rui.silva@linaro.org> | 2016-08-09 23:35:34 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2016-08-10 12:00:32 +0200 |
commit | 64f28ada9349ab071096484281548b6be1791cd7 (patch) | |
tree | beffc0e5add7af979637690b12bffacf83957b24 /drivers/staging/greybus/greybus_protocols.h | |
parent | 4523eae6f8446e3943415683bc9a136ce11fb32b (diff) | |
download | op-kernel-dev-64f28ada9349ab071096484281548b6be1791cd7.zip op-kernel-dev-64f28ada9349ab071096484281548b6be1791cd7.tar.gz |
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>
Diffstat (limited to 'drivers/staging/greybus/greybus_protocols.h')
-rw-r--r-- | drivers/staging/greybus/greybus_protocols.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/greybus/greybus_protocols.h b/drivers/staging/greybus/greybus_protocols.h index 8484f05..3082cbf 100644 --- a/drivers/staging/greybus/greybus_protocols.h +++ b/drivers/staging/greybus/greybus_protocols.h @@ -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 */ |