mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] soc: qcom: ice: Avoid probe deferring for un-supported ICE feature
@ 2026-01-30  9:11 Sumit Garg
  2026-01-30  9:34 ` Konrad Dybcio
  0 siblings, 1 reply; 11+ messages in thread
From: Sumit Garg @ 2026-01-30  9:11 UTC (permalink / raw)
  To: linux-arm-msm
  Cc: andersson, konradybcio, abelvesa, mani, linux-kernel, Sumit Garg

From: Sumit Garg <sumit.garg@oss.qualcomm.com>

ICE related SCM calls may not be supported in every TZ environment like
OP-TEE or a no-TZ environment too. So let's try to avoid probe deferring
when it's known that ICE feature isn't supported.

This problem only came to notice after the inline encryption drivers were
enabled in the arm64 defconfig by: commit 5f37788adedd ("arm64: defconfig:
Enable SCSI UFS Crypto and Block Inline encryption drivers").

Fixes: 2afbf43a4aec ("soc: qcom: Make the Qualcomm UFS/SDCC ICE a dedicated driver")
Signed-off-by: Sumit Garg <sumit.garg@oss.qualcomm.com>
---
 drivers/soc/qcom/ice.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/soc/qcom/ice.c b/drivers/soc/qcom/ice.c
index b203bc685cad..ab9586b8caf5 100644
--- a/drivers/soc/qcom/ice.c
+++ b/drivers/soc/qcom/ice.c
@@ -652,7 +652,7 @@ static struct qcom_ice *of_qcom_ice_get(struct device *dev)
 		dev_err(dev, "Cannot get ice instance from %s\n",
 			dev_name(&pdev->dev));
 		platform_device_put(pdev);
-		return ERR_PTR(-EPROBE_DEFER);
+		return NULL;
 	}
 
 	link = device_link_add(dev, &pdev->dev, DL_FLAG_AUTOREMOVE_SUPPLIER);
-- 
2.51.0


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2026-02-02 10:55 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-30  9:11 [PATCH] soc: qcom: ice: Avoid probe deferring for un-supported ICE feature Sumit Garg
2026-01-30  9:34 ` Konrad Dybcio
2026-01-30  9:52   ` Sumit Garg
2026-01-30  9:59     ` Konrad Dybcio
2026-01-30 11:36       ` Sumit Garg
2026-01-30 11:55         ` Konrad Dybcio
2026-01-30 12:29           ` Sumit Garg
2026-01-30 12:36             ` Konrad Dybcio
2026-02-02  8:32               ` Sumit Garg
2026-02-02 10:51                 ` Manivannan Sadhasivam
2026-02-02 10:55       ` Manivannan Sadhasivam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®