mirror-linux/drivers/power/sequencing
Dmitry Baryshkov ecfcae7885 power: sequencing: qcom-wcn: fix error path for VDDIO handling
In case getting VDDIO regulator returned an error, WCN power sequencing
driver passes ret to dev_err_probe() as the error code, however it is
known that ret is 0 at this point. Pass PTR_ERR(ctx->vddio) instead.

Fixes: 0eb85f468e ("power: sequencing: qcom-wcn: add support for WCN39xx")
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/r/aYXvQxKqmjP_sdCd@stanley.mountain/
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://patch.msgid.link/20260207-fix-wcn39xx-v1-1-df0606108ce2@oss.qualcomm.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
2026-02-09 10:32:27 +01:00
..
Kconfig power: sequencing: Add the Power Sequencing driver for the PCIe M.2 connectors 2026-01-23 10:05:38 +01:00
Makefile power: sequencing: Add the Power Sequencing driver for the PCIe M.2 connectors 2026-01-23 10:05:38 +01:00
core.c power: sequencing: fix missing state_lock in pwrseq_power_on() error path 2026-02-04 11:26:14 +01:00
pwrseq-pcie-m2.c power: sequencing: Add the Power Sequencing driver for the PCIe M.2 connectors 2026-01-23 10:05:38 +01:00
pwrseq-qcom-wcn.c power: sequencing: qcom-wcn: fix error path for VDDIO handling 2026-02-09 10:32:27 +01:00
pwrseq-thead-gpu.c power: sequencing: thead-gpu: use new defines for match() return values 2025-06-30 09:07:41 +02:00