From 64f28ada9349ab071096484281548b6be1791cd7 Mon Sep 17 00:00:00 2001 From: Rui Miguel Silva Date: Tue, 9 Aug 2016 23:35:34 +0100 Subject: [PATCH] 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 Signed-off-by: Rui Miguel Silva Signed-off-by: Greg Kroah-Hartman --- 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 8484f05fc427..3082cbf3b1b2 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 */ -- 2.39.5