Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 29db071f authored by Can Guo's avatar Can Guo
Browse files

mmc: host: create a specific workqueue for clk gate



mmc host clock gate work was scheduled on system_wq,
which is created without flag WQ_MEM_RECLAIM. Because
mmcqd thread was created with flag PF_MEMALLOC set, it
would break forward-progress guarantee leading to a
deadlock when clock gate work is cancelled. Fix it by
creating a specific work queue for clock gate work.

Change-Id: I4be5d629c712d8c48049f1e2df2c14ac6024b837
Signed-off-by: default avatarCan Guo <cang@codeaurora.org>
parent 1fd6e206
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment