Skip to content
Commit 8b334442 authored by Sibi Sankar's avatar Sibi Sankar Committed by Andy Gross
Browse files

soc: qcom: rpmpd: fixup rpmpd set performance state



Remoteproc q6v5-mss calls set_performance_state with INT_MAX on
rpmpd. This is currently ignored since it is greater than the
max supported state. Fixup rpmpd state to max if the required
state is greater than all the supported states.

Fixes: 075d3db8 ("soc: qcom: rpmpd: Add support for get/set performance state")
Reviewed-by: default avatarMarc Gonzalez <marc.w.gonzalez@free.fr>
Reviewed-by: default avatarVinod Koul <vkoul@kernel.org>
Reviewed-by: default avatarJeffrey Hugo <jhugo@codeaurora.org>
Signed-off-by: default avatarSibi Sankar <sibis@codeaurora.org>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: default avatarAndy Gross <agross@kernel.org>
parent b157d73e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment