Commit 8509fb9d authored by Matti Lehtimäki's avatar Matti Lehtimäki Committed by Greg Kroah-Hartman
Browse files

remoteproc: qcom_wcnss: Fix on platforms without fallback regulators



[ Upstream commit 4ca45af0 ]

Recent change to handle platforms with only single power domain broke
pronto-v3 which requires power domains and doesn't have fallback voltage
regulators in case power domains are missing. Add a check to verify
the number of fallback voltage regulators before using the code which
handles single power domain situation.

Fixes: 65991ea8 ("remoteproc: qcom_wcnss: Handle platforms with only single power domain")
Signed-off-by: default avatarMatti Lehtimäki <matti.lehtimaki@gmail.com>
Tested-by: Luca Weiss <luca.weiss@fairphone.com> # sdm632-fairphone-fp3
Link: https://lore.kernel.org/r/20250511234026.94735-1-matti.lehtimaki@gmail.com


Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent d19d0157
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment