soc: qcom: geni: shield geni_icc_get() for ACPI boot
authorShawn Guo <shawn.guo@linaro.org>
Thu, 14 Jan 2021 11:29:28 +0000 (19:29 +0800)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 12 Mar 2021 02:22:05 +0000 (20:22 -0600)
commit0c9fdcdba68208270ae85d39600ea97da1718344
treeb79a1a90da34356a2f70d050b29b3ab61dca9044
parenta38fd8748464831584a19438cbb3082b5a2dab15
soc: qcom: geni: shield geni_icc_get() for ACPI boot

Currently, GENI devices like i2c-qcom-geni fails to probe in ACPI boot,
if interconnect support is enabled.  That's because interconnect driver
only supports DT right now.  As interconnect is not necessarily required
for basic function of GENI devices, let's shield geni_icc_get() call,
and then all other ICC calls become nop due to NULL icc_path, so that
GENI devices keep working for ACPI boot.

Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Link: https://lore.kernel.org/r/20210114112928.11368-1-shawn.guo@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/soc/qcom/qcom-geni-se.c