diff options
author | Cristian Marussi <cristian.marussi@arm.com> | 2022-06-08 17:40:51 +0100 |
---|---|---|
committer | Sudeep Holla <sudeep.holla@arm.com> | 2022-06-10 17:50:29 +0100 |
commit | 8e60294c8012fe4c66c3590376670998902fd822 (patch) | |
tree | a82a8322fda5456129931da842a8993b268f0093 /samples | |
parent | d0c94bef70e71e364c0a016b0e92307cd4d1d719 (diff) |
firmware: arm_scmi: Fix SENSOR_AXIS_NAME_GET behaviour when unsupported
Avoid to invoke SENSOR_AXIS_NAME_GET on sensors that have not declared at
least one of their axes as supporting extended names.
Since the returned list of axes supporting extended names is not
necessarily comprising all the existing axes of the specified sensor,
take care also to properly pick the axis descriptor from the ID embedded
in the response.
Link: https://lore.kernel.org/r/20220608164051.2326087-1-cristian.marussi@arm.com
Fixes: 802b0bed011e ("firmware: arm_scmi: Add SCMI v3.1 SENSOR_AXIS_NAME_GET support")
Cc: Peter Hilber <peter.hilber@opensynergy.com>
Cc: Sudeep Holla <sudeep.holla@arm.com>
Reviewed-by: Peter Hilber <peter.hilber@opensynergy.com>
Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions