commit | 29db071fc4e289f8625a18b48d9c0a84a397da15 | [log] [tgz] |
---|---|---|
author | Can Guo <cang@codeaurora.org> | Thu May 18 13:26:48 2017 +0800 |
committer | Can Guo <cang@codeaurora.org> | Tue Jun 20 18:27:43 2017 +0800 |
tree | 8572932429ececba368f8de07678e53eebd8729d | |
parent | 1fd6e2064703d00e484c3ea7fc201977944fd55e [diff] |
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: Can Guo <cang@codeaurora.org>