]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
soc: qcom: ice: Return -ENODEV if the ICE platform device is not found
authorManivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>
Mon, 18 May 2026 13:52:18 +0000 (19:22 +0530)
committerBjorn Andersson <andersson@kernel.org>
Mon, 18 May 2026 14:43:25 +0000 (09:43 -0500)
commit5a4dc805a80e6fe303d6a4748cd451ea15987ffd
treed40810c4e1906d9f7b329ad1a97f026be69612ef
parentd922113ef91e6e7e8065e9070f349365341ba32e
soc: qcom: ice: Return -ENODEV if the ICE platform device is not found

By the time the consumer driver calls devm_of_qcom_ice_get(), all the
platform devices for ICE nodes would've been created by
of_platform_default_populate().

So for the absence of any platform device, -ENODEV should not returned, not
-EPROBE_DEFER.

Fixes: 2afbf43a4aec ("soc: qcom: Make the Qualcomm UFS/SDCC ICE a dedicated driver")
Tested-by: Sumit Garg <sumit.garg@oss.qualcomm.com> # OP-TEE as TZ
Acked-by: Sumit Garg <sumit.garg@oss.qualcomm.com>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260518-qcom-ice-fix-v7-2-2a595382185b@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/soc/qcom/ice.c