diff options
author | Clément Léger <clement.leger@bootlin.com> | 2021-10-13 16:00:04 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-10-26 15:26:45 -0400 |
commit | 32cc3929a173246bf55b2a602082cabd971fc71b (patch) | |
tree | f4bcc4c1c68864f7388509c3804540e938b280a9 | |
parent | 4ea84c5dce5a96a4ed9f8c410974425ff2167721 (diff) | |
download | u-boot-32cc3929a173246bf55b2a602082cabd971fc71b.zip u-boot-32cc3929a173246bf55b2a602082cabd971fc71b.tar.gz u-boot-32cc3929a173246bf55b2a602082cabd971fc71b.tar.bz2 |
firmware: scmi: fix struct layout for scmi_clk_rate_set_in
First two fields are reversed compared to what is expected by the SCMI
specification.
Signed-off-by: Clément Léger <clement.leger@bootlin.com>
Fixes: 60388844836 ("clk: add clock driver for SCMI agents")
-rw-r--r-- | include/scmi_protocols.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/scmi_protocols.h b/include/scmi_protocols.h index 2db7169..ef26e72 100644 --- a/include/scmi_protocols.h +++ b/include/scmi_protocols.h @@ -97,14 +97,14 @@ struct scmi_clk_rate_get_out { /** * struct scmi_clk_state_in - Message payload for CLOCK_RATE_SET command - * @clock_id: SCMI clock ID * @flags: Flags for the clock rate set request + * @clock_id: SCMI clock ID * @rate_lsb: 32bit LSB of the clock rate in Hertz * @rate_msb: 32bit MSB of the clock rate in Hertz */ struct scmi_clk_rate_set_in { - u32 clock_id; u32 flags; + u32 clock_id; u32 rate_lsb; u32 rate_msb; }; |