mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-14 04:46:01 +01:00
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")
This commit is contained in:
parent
4ea84c5dce
commit
32cc3929a1
@ -97,14 +97,14 @@ struct scmi_clk_rate_get_out {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* struct scmi_clk_state_in - Message payload for CLOCK_RATE_SET command
|
* 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
|
* @flags: Flags for the clock rate set request
|
||||||
|
* @clock_id: SCMI clock ID
|
||||||
* @rate_lsb: 32bit LSB of the clock rate in Hertz
|
* @rate_lsb: 32bit LSB of the clock rate in Hertz
|
||||||
* @rate_msb: 32bit MSB of the clock rate in Hertz
|
* @rate_msb: 32bit MSB of the clock rate in Hertz
|
||||||
*/
|
*/
|
||||||
struct scmi_clk_rate_set_in {
|
struct scmi_clk_rate_set_in {
|
||||||
u32 clock_id;
|
|
||||||
u32 flags;
|
u32 flags;
|
||||||
|
u32 clock_id;
|
||||||
u32 rate_lsb;
|
u32 rate_lsb;
|
||||||
u32 rate_msb;
|
u32 rate_msb;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user