From: rui guo Date: Wed, 17 Aug 2022 02:06:50 +0000 (+0800) Subject: timer: After turning on the vad, the standby will hang [1/1] X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=refs%2Fheads%2Flineage-20;p=GitHub%2FLineageOS%2FG12%2Fandroid_hardware_amlogic_kernel-modules_optee.git timer: After turning on the vad, the standby will hang [1/1] PD#SWPL-92294 Problem: The clock will be turned off when in standby, but the timer interrupt waiting queue is still executing Solution: When standby, the timer interrupt waiting queue will freeze Verify: Android R + AH212 Change-Id: I22b6e726512cd378c910745621b598bdb9ae3617 Signed-off-by: rui guo --- diff --git a/optee/rpc.c b/optee/rpc.c index 038d9e1..2a8e531 100644 --- a/optee/rpc.c +++ b/optee/rpc.c @@ -385,7 +385,7 @@ void optee_timer_init(struct optee_timer *timer) mutex_init(&timer->mutex); INIT_LIST_HEAD(&timer->timer_list); - wq = create_workqueue("tee_timer"); + wq = create_freezable_workqueue("tee_timer"); if (!wq) return; timer->wq = wq;