diff options
author | Cristian Marussi | 2024-01-08 18:50:49 +0000 |
---|---|---|
committer | Sudeep Holla | 2024-01-22 10:01:17 +0000 |
commit | e8ef4bbe39b9576a73f104f6af743fb9c7b624ba (patch) | |
tree | 557e0492826538cb35a1565c95fed2efb4406fc5 /drivers/idle | |
parent | 0726fcc8d4af75441b38aaa082f820e63b3a8748 (diff) |
firmware: arm_scmi: Use xa_insert() to store opps
When storing opps by level or index use xa_insert() instead of xa_store()
and add error-checking to spot bad duplicates indexes possibly wrongly
provided by the platform firmware.
Fixes: 31c7c1397a33 ("firmware: arm_scmi: Add v3.2 perf level indexing mode support")
Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Link: https://lore.kernel.org/r/20240108185050.1628687-1-cristian.marussi@arm.com
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'drivers/idle')
0 files changed, 0 insertions, 0 deletions