]> git.baikalelectronics.ru Git - uboot.git/commit
tee: optee: Change printing during optee_probe
authorIlias Apalodimas <ilias.apalodimas@linaro.org>
Wed, 10 Mar 2021 13:35:11 +0000 (15:35 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 12 Apr 2021 21:44:55 +0000 (17:44 -0400)
commita180f5102e852f9a86890ae48733d0fb50f0f406
tree5d36a324e3bbfcf05b094891995db2f5953c3a41
parent2407a0d1c58affaad7852a49751af499bdfd5576
tee: optee: Change printing during optee_probe

Right now the error messages when optee has a version mismatch or shared
memory is not configured are done with a debug().
That's not very convenient since you have to enable debugging to figure
out what's going on, although this is an actual error.

So let's switch the debug() -> dev_err() and report those explicitly.

Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
drivers/tee/optee/core.c