]> 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)
commit1e08b3b2aedf1ccf5e13852643639c6cc89720ce
tree5431406671f85929ba4d22ddeacabd9023401efc
parentba791c942de6366c7e0ce61092dfe0fd8d64f70c
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