summaryrefslogtreecommitdiff
path: root/drivers/tee
diff options
context:
space:
mode:
authorEtienne Carriere <etienne.carriere@linaro.org>2022-12-07 16:29:59 +0100
committerIlias Apalodimas <ilias.apalodimas@linaro.org>2022-12-23 10:26:11 +0200
commit476a3d58dfeb6230f44b629e5791d70f0e55d78f (patch)
treef59056c7721d2af321982bda1dd65926f721893a /drivers/tee
parent1154e965d0bd16cf438afdaa4118e1455fd71a44 (diff)
tee: optee: don't fail probe because of optee-rng
Fixes optee-rng driver bind sequence in optee driver to print a warning message but not report an error status when a optee-rng service driver fails to be bound as the optee driver itself is still fully functional. Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'drivers/tee')
-rw-r--r--drivers/tee/optee/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tee/optee/core.c b/drivers/tee/optee/core.c
index 9240277579..604fd1414f 100644
--- a/drivers/tee/optee/core.c
+++ b/drivers/tee/optee/core.c
@@ -834,7 +834,7 @@ static int optee_probe(struct udevice *dev)
*/
ret = device_bind_driver(dev, "optee-rng", "optee-rng", NULL);
if (ret)
- return ret;
+ dev_warn(dev, "ftpm_tee failed to bind: %d\n", ret);
}
return 0;