From 1543e317f1da31b75942316931e8f491a8920811 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Thu, 04 Jan 2024 10:08:02 +0000 Subject: [PATCH] disable FB --- kernel/drivers/power/supply/da9150-charger.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/kernel/drivers/power/supply/da9150-charger.c b/kernel/drivers/power/supply/da9150-charger.c index f9314cc..6b987da 100644 --- a/kernel/drivers/power/supply/da9150-charger.c +++ b/kernel/drivers/power/supply/da9150-charger.c @@ -662,6 +662,7 @@ if (!IS_ERR_OR_NULL(charger->usb_phy)) usb_unregister_notifier(charger->usb_phy, &charger->otg_nb); + cancel_work_sync(&charger->otg_work); power_supply_unregister(charger->battery); power_supply_unregister(charger->usb); -- Gitblit v1.6.2