Skip to content
Snippets Groups Projects
Commit 218a9917 authored by Ilias Apalodimas's avatar Ilias Apalodimas
Browse files

tee: optee: fix a print error on rng probing


If we fail to probe the optee-rng device, we print a wrong message
referring to the firmware tpm.

Fixes: 476a3d58 ("tee: optee: don't fail probe because of optee-rng")
Reviewed-by: Patrick Delaunay's avatarPatrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: default avatarEtienne Carriere <etienne.carriere@linaro.org>
Reviewed-by: default avatarJens Wiklander <jens.wiklander@linaro.org>
Signed-off-by: default avatarIlias Apalodimas <ilias.apalodimas@linaro.org>
parent 53c47c59
No related branches found
No related tags found
No related merge requests found
......@@ -850,7 +850,7 @@ static int optee_probe(struct udevice *dev)
ret = device_bind_driver_to_node(dev, "optee-rng", "optee-rng",
dev_ofnode(dev), NULL);
if (ret)
dev_warn(dev, "ftpm_tee failed to bind: %d\n", ret);
dev_warn(dev, "optee-rng failed to bind: %d\n", ret);
}
return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment