Commit c1d04d32 authored by Srinivas Kandagatla's avatar Srinivas Kandagatla Committed by Nicolas Dechesne
Browse files

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: default avatarRicardo Salveti <ricardo.salveti@linaro.org>
Signed-off-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
parent 11c04c9b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment