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)
commit92e84896112037833e429d629f87cedbeb255d5a
tree5d36a324e3bbfcf05b094891995db2f5953c3a41
parentac3821430e0e2dc6ddb766950b0098c67d4969d3
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