Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tee: optee: add missing mutext_destroy in optee_ffa_probe
[ Upstream commit b5e2288 ] The error handling code of optee_ffa_probe misses the mutex_destroy of ffa.mutex when mutext_init succeeds. Fix this by adding mutex_destory of ffa.mutex at the error handling part Fixes: aceeafe ("optee: use driver internal tee_context for some rpc") Signed-off-by: Dongliang Mu <mudongliangabcd@gmail.com> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
- Loading branch information