linux/drivers/tee/optee
Dongliang Mu b5e2288683 tee: optee: add missing mutext_destroy in optee_ffa_probe
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 <mudongliangabcd@gmail.com>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
2022-04-05 08:56:26 +02:00
..
call.c tee: replace tee_shm_alloc() 2022-02-16 07:49:41 +01:00
core.c optee: add optee_pool_op_free_helper() 2022-02-16 07:49:41 +01:00
device.c tee: replace tee_shm_alloc() 2022-02-16 07:49:41 +01:00
ffa_abi.c tee: optee: add missing mutext_destroy in optee_ffa_probe 2022-04-05 08:56:26 +02:00
Kconfig tee: simplify shm pool handling 2022-02-16 07:49:41 +01:00
Makefile optee: separate notification functions 2021-11-17 14:08:56 +01:00
notif.c optee: Use bitmap_free() to free bitmap 2022-01-24 12:53:34 +01:00
optee_ffa.h optee: add FF-A support 2021-10-18 11:44:23 +02:00
optee_msg.h optee: add asynchronous notifications 2021-11-17 14:08:57 +01:00
optee_private.h optee: add optee_pool_op_free_helper() 2022-02-16 07:49:41 +01:00
optee_rpc_cmd.h optee: separate notification functions 2021-11-17 14:08:56 +01:00
optee_smc.h optee: add asynchronous notifications 2021-11-17 14:08:57 +01:00
optee_trace.h tee: optee: add invoke_fn tracepoints 2021-03-15 12:04:01 +01:00
rpc.c optee: separate notification functions 2021-11-17 14:08:56 +01:00
smc_abi.c ARM driver updates for 5.18 2022-03-23 18:23:13 -07:00
supp.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00