Skip to content

scmi_sensor: Fix get readings invalid flags response

Darryl Green requested to merge github/fork/Sevenarth/master into master

Created by: Sevenarth

The READING_GET command currently accepts any value in the bits 31:1 in its flags. According to the SCMI v2 specs these bits are reserved and must be zero. This commit ensures that the command returns SCMI_INVALID_PARAMETERS when any of those bits are set.

Change-Id: I8d0c486d6aa0a2df8c13b8d3f7319606402dd729 Signed-off-by: Luca Vizzarro Luca.Vizzarro@arm.com

Merge request reports