From 0044bfee15846244df2cc4287c46d4a7f9d09ffe Mon Sep 17 00:00:00 2001 From: rui guo Date: Wed, 17 Aug 2022 10:06:50 +0800 Subject: [PATCH] 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 --- optee/rpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.20.1