mei: request autosuspend after sending rx flow control
Subsystems (3)
From: Alexander Usyskin <[email protected]>
A rx flow control waiting in the control queue may block autosuspend. Re-request autosuspend after flow control been sent to unblock the transition to the low power state.
Cc <[email protected]>
Signed-off-by Alexander Usyskin <[email protected]>
Signed-off-by Tomas Winkler <[email protected]>
--- drivers/misc/mei/interrupt.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/misc/mei/interrupt.c +3 -0
@@ -277,6 +277,9 @@ static int mei_cl_irq_read(struct mei_cl *cl, struct mei_cl_cb *cb,return ret; } +pm_runtime_mark_last_busy (dev->dev); +pm_request_autosuspend (dev->dev); +list_move_tail (&cb->list, &cl->rd_pending);return 0 ;
Signature · 1 line
2.31.1