mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 21:21:09 -04:00
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: aceeafefff ("optee: use driver internal tee_context for some rpc")
Signed-off-by: Dongliang Mu <[email protected]>
Signed-off-by: Jens Wiklander <[email protected]>