diff options
author | Cristian Marussi <cristian.marussi@arm.com> | 2022-03-30 16:05:41 +0100 |
---|---|---|
committer | Sudeep Holla <sudeep.holla@arm.com> | 2022-04-28 18:22:52 +0100 |
commit | df3576d14a4598534d1a28276ded5ba2545d5e4c (patch) | |
tree | 8cdf42198528de75462cfd6fa7f1d09a0ce2cefa /drivers/vme | |
parent | 7ad6b6ccbafc1faa04ca9d26635bdd5e3e240a69 (diff) | |
download | linux-df3576d14a4598534d1a28276ded5ba2545d5e4c.tar.bz2 |
firmware: arm_scmi: Parse clock_enable_latency conditionally
The clock_enable_latency field in CLOCK_ATTRIBUTES response message has
been added only since SCMI v3.1. Use the advertised SCMI clock protocol
version as a proper condition check for parsing it, instead of the bare
message length lookup.
Link: https://lore.kernel.org/r/20220330150551.2573938-13-cristian.marussi@arm.com
Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'drivers/vme')
0 files changed, 0 insertions, 0 deletions