Skip to content

Commit bbf0a94

Browse files
ausyskingregkh
authored andcommitted
mei: request autosuspend after sending rx flow control
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]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 022b93c commit bbf0a94

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/misc/mei/interrupt.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,9 @@ static int mei_cl_irq_read(struct mei_cl *cl, struct mei_cl_cb *cb,
277277
return ret;
278278
}
279279

280+
pm_runtime_mark_last_busy(dev->dev);
281+
pm_request_autosuspend(dev->dev);
282+
280283
list_move_tail(&cb->list, &cl->rd_pending);
281284

282285
return 0;

0 commit comments

Comments
 (0)