commit | 8ac1091ed18b4a6cb0dc2cd5653f080736f89392 | [log] [tgz] |
---|---|---|
author | Baolin Wang <baolin.wang@linaro.org> | Mon Nov 12 18:52:35 2018 +0800 |
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | Wed Dec 05 23:48:17 2018 +0100 |
tree | ae77641d574179e19e8edb57aa0873d49d6953b2 | |
parent | e6ae9a05a41abdb80b4d93574e84609a35cfb98c [diff] |
power: supply: sc2731_charger: Add one work to charge/discharge Since the USB notifier context is atomic, we can not start or stop charging in atomic context. Thus this patch adds one work to help to charge or discharge. Signed-off-by: Baolin Wang <baolin.wang@linaro.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>