aboutsummaryrefslogtreecommitdiffstats
path: root/mm/util.c
diff options
context:
space:
mode:
authorCasey Connolly <[email protected]>2025-06-19 14:55:11 +0000
committerSebastian Reichel <[email protected]>2025-06-22 19:07:48 +0000
commit6c5393771c50fac30f08dfb6d2f65f4f2cfeb8c7 (patch)
tree386dc35513662bf6f276636050a2fd5f56330a0a /mm/util.c
parentpower: supply: max14577: Handle NULL pdata when CONFIG_OF is not set (diff)
downloadkernel-6c5393771c50fac30f08dfb6d2f65f4f2cfeb8c7.tar.gz
kernel-6c5393771c50fac30f08dfb6d2f65f4f2cfeb8c7.zip
power: supply: qcom_pmi8998_charger: fix wakeirq
Unloading and reloading the driver (e.g. when built as a module) currently leads to errors trying to enable wake IRQ since it's already enabled. Use devm to manage this for us so it correctly gets disabled when removing the driver. Additionally, call device_init_wakeup() so that charger attach/remove will trigger a wakeup by default. Fixes: 8648aeb5d7b7 ("power: supply: add Qualcomm PMI8998 SMB2 Charger driver") Signed-off-by: Casey Connolly <[email protected]> Reviewed-by: Dmitry Baryshkov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'mm/util.c')
0 files changed, 0 insertions, 0 deletions