]> git.baikalelectronics.ru Git - kernel.git/commit
remoteproc: qcom_q6v5_pas: Deal silently with optional px and cx regulators
authorAbel Vesa <abel.vesa@linaro.org>
Wed, 13 Jul 2022 15:28:35 +0000 (18:28 +0300)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 18 Jul 2022 20:32:34 +0000 (15:32 -0500)
commit3f52d118f992d569d96da010497a39cd021af011
tree5431406671f85929ba4d22ddeacabd9023401efc
parentfd75c2d01a50d877b375786abbeb179564ea8ffc
remoteproc: qcom_q6v5_pas: Deal silently with optional px and cx regulators

Use _get_optional as some platforms might not provide the px
and cx regulators. This avoids printing the following for each
unavailable regulator:

[    4.350229] qcom_q6v5_pas 5c00000.remoteproc: supply cx not found,
using dummy regulator
[    4.374224] qcom_q6v5_pas 5c00000.remoteproc: supply px not found,
using dummy regulator

Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Acked-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220713152835.3848875-1-abel.vesa@linaro.org
drivers/remoteproc/qcom_q6v5_pas.c