diff options
author | Amitoj Kaur Chawla <amitoj1606@gmail.com> | 2016-04-08 15:32:10 (GMT) |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2016-05-09 09:07:28 (GMT) |
commit | b6fd3aba6041922e115bd8e10539b8545f4120ac (patch) | |
tree | aed209d6fa97c1293e12c532d4e93c804f9d212f /drivers/thermal/intel_soc_dts_thermal.c | |
parent | 056a7201ac7a659880b43c2e62a5aa85ca06bebf (diff) | |
download | linux-b6fd3aba6041922e115bd8e10539b8545f4120ac.tar.xz |
can: mcp251x: Replace create_freezable_workqueue with alloc_workqueue
Replace scheduled to be removed create_freezable_workqueue with
alloc_workqueue.
priv->wq should be explicitly set as freezable to ensure it is frozen
in the suspend sequence and work items are drained so that no new work
item starts execution until thawed. Thus, use of WQ_FREEZABLE flag
here is required.
WQ_MEM_RECLAIM flag has been set here to ensure forward progress
regardless of memory pressure.
The order of execution is not important so set @max_active as 0.
Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/thermal/intel_soc_dts_thermal.c')
0 files changed, 0 insertions, 0 deletions