]> git.dujemihanovic.xyz Git - u-boot.git/commit
tee: optee: don't fail on services enumeration failure
authorEtienne Carriere <etienne.carriere@foss.st.com>
Wed, 29 Nov 2023 12:37:52 +0000 (13:37 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 19 Dec 2023 15:07:48 +0000 (10:07 -0500)
commitab9500e9c3fa1a4512eeebcc616f7ba73cf938ef
tree5bb895c920a89f415ed3b7de684d85055ecb1881
parent34fc1861239f1c6b92252359127eb3b74ca792a5
tee: optee: don't fail on services enumeration failure

Change optee probe function to only warn when service enumeration
sequence fails instead of reporting an optee driver probe failure.
Indeed U-Boot can still use OP-TEE even if some OP-TEE services are
not discovered.

Fixes: 94ccfb78a4d6 ("drivers: tee: optee: discover OP-TEE services")
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
drivers/tee/optee/core.c