Merge tag 'tee-optee-for-5.2' of http://git.linaro.org:/people/jens.wiklander/linux...
[linux-2.6-microblaze.git] / drivers / tee / optee / core.c
index fdce629..48963ea 100644 (file)
@@ -652,6 +652,10 @@ static struct optee *optee_probe(struct device_node *np)
        if (optee->sec_caps & OPTEE_SMC_SEC_CAP_DYNAMIC_SHM)
                pr_info("dynamic shared memory is enabled\n");
 
+       rc = optee_enumerate_devices();
+       if (rc)
+               goto err;
+
        pr_info("initialized driver\n");
        return optee;
 err: