On Wed, Oct 20, 2021 at 02:34:31PM +0200, Greg KH wrote:
On Tue, Oct 19, 2021 at 03:15:32PM +0530, Sumit Garg wrote:
upstream commit 7f565d0ead26
When OP-TEE driver is built as a module, OP-TEE client devices registered on TEE bus during probe should be unregistered during optee_remove. So implement optee_unregister_devices() accordingly.
Fixes: c3fa24af9244 ("tee: optee: add TEE bus device enumeration support") Reported-by: Sudeep Holla sudeep.holla@arm.com Signed-off-by: Sumit Garg sumit.garg@linaro.org Signed-off-by: Jens Wiklander jens.wiklander@linaro.org [SG: backport to 5.4, dev name s/optee-ta/optee-clnt/] Signed-off-by: Sumit Garg sumit.garg@linaro.org
drivers/tee/optee/core.c | 3 +++ drivers/tee/optee/device.c | 22 ++++++++++++++++++++++ drivers/tee/optee/optee_private.h | 1 + 3 files changed, 26 insertions(+)
Doesn't this also need to go into 5.10 and 5.14? We can not have people upgrading and having regressions.
Can you provide backports for those trees too? I can not take just this one, sorry.
Nevermind, it's already there, sorry for the noise, I'll go queue this up right now...
greg k-h