iommu: qcom: check scm avaiablity before initialization.
This patch moves the scm call checks to probe and also adds check to see if the scm is available and makes a defer probe from then. This should prevent execution of scm calls on non qcom platfroms resulting in crashes. Bugzilla: https://bugs.linaro.org/show_bug.cgi?id=2061 Reported-by:Ricardo Salveti <ricardo.salveti@linaro.org> Signed-off-by:
Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Loading
Please sign in to comment