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:
|
||
|---|---|---|
| .. | ||
| amdtee | ||
| optee | ||
| Kconfig | ||
| Makefile | ||
| tee_core.c | ||
| tee_private.h | ||
| tee_shm.c | ||
| tee_shm_pool.c | ||