Files
linux/drivers/clk
Haotian Zhang 1e07ebe744 clk: qcom: Return correct error code in qcom_cc_probe_by_index()
When devm_platform_ioremap_resource() fails, it returns various
error codes. Returning a hardcoded -ENOMEM masks the actual
failure reason.

Use PTR_ERR() to propagate the actual error code returned by
devm_platform_ioremap_resource() instead of -ENOMEM.

Fixes: 75e0a1e301 ("clk: qcom: define probe by index API as common API")
Signed-off-by: Haotian Zhang <vulab@iscas.ac.cn>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20251217041338.2432-1-vulab@iscas.ac.cn
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
2026-01-03 12:16:55 -06:00
..
2025-07-26 23:49:18 -07:00
2025-07-26 23:49:18 -07:00
2025-11-20 18:53:32 -08:00
2025-07-26 23:49:18 -07:00
2025-07-26 23:49:18 -07:00
2025-07-26 23:49:18 -07:00
2025-07-26 23:49:18 -07:00
2025-07-26 23:49:18 -07:00
2025-07-26 23:49:18 -07:00
2024-10-17 12:02:42 -07:00
2025-11-30 12:06:21 -08:00