mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
57c536fb68
PD#SWPL-233260 Problem: after playing secure video, the clear stream can not be played. It hangs in tee_unprotect_mem. If there is dead lock when handle_rpc_func_cmd_timer_destroy, all the CA will block when call optee_timer_missed_destroy->mutex_lock. Solution: when TA destroy timer, it should not call cancel_delayed_work_sync, it may deadlock. try to cancel it, if the work queue is running, just set a flag(atomic operation). Verify: S6 + Android U + Kernel 6.12 Change-Id: Ia2773edf50ddcbd10ace67d3e62c0bf7a25119e2 Signed-off-by: Shuo Liu <shuo.liu@amlogic.com>