diff options
author | Bhaktipriya Shridhar <bhaktipriya96@gmail.com> | 2016-08-13 16:21:23 (GMT) |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2016-08-15 22:54:37 (GMT) |
commit | 9df82628265857e1c491c1ca0ace353e658457ea (patch) | |
tree | 0945463af02bbb09d92c93ac65055c373c74ae57 /virt | |
parent | 87f818b35c3007d1014541c07688ab29443a22c2 (diff) | |
download | linux-9df82628265857e1c491c1ca0ace353e658457ea.tar.xz |
power: ab8500_charger: Remove deprecated create_singlethread_workqueue
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set replaces
deprecated create_singlethread_workqueue(). This is the identity
conversion.
The workqueue "charger_wq" is used for the IRQs and checking HW state of
the charger. It has been identity converted.
It has multiple work items viz usb_charger_attached_work, kick_wd_work,
check_vbat_work, check_hw_failure_work, usb_charger_attached_work,
ac_work, ac_charger_attached_work, attach_work and check_usbchgnotok_work,
which require execution ordering. Hence, a dedicated ordered workqueue
has been used here.
The WQ_MEM_RECLAIM flag has also been set to ensure
forward progress under memory pressure.
Signed-off-by: Bhaktipriya Shridhar <bhaktipriya96@gmail.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions