mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
power: supply: mt6360: add a check of devm_work_autocancel in mt6360_charger_probe
commit4cbb0d3588upstream. devm_work_autocancel may fail, add a check and return early. Fixes:0402e8ebb8("power: supply: mt6360_charger: add MT6360 charger support") Signed-off-by: Kang Chen <void0red@gmail.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
2ac38f130e
commit
e1073f8147
1 changed files with 3 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue