nuttx/drivers/power/battery
dongjiuzhu1 b4c6a92757 drivers/battery: fix race condition in event handling
Move mutex lock before checking flist to prevent race condition where
events could be lost when occurring simultaneously with service opening.

Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
2025-12-15 17:35:11 +08:00
..
axp202.c style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
battery_charger.c drivers/battery: fix race condition in event handling 2025-12-15 17:35:11 +08:00
battery_gauge.c drivers/battery: fix race condition in event handling 2025-12-15 17:35:11 +08:00
battery_monitor.c drivers/battery: fix race condition in event handling 2025-12-15 17:35:11 +08:00
bq769x0.c sched/sleep: replace all Signal-based sleep implement to Scheduled sleep 2025-10-17 14:05:02 +08:00
bq2425x.c sched/sleep: replace all Signal-based sleep implement to Scheduled sleep 2025-10-17 14:05:02 +08:00
bq2425x.h drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
bq2429x.c sched/sleep: replace all Signal-based sleep implement to Scheduled sleep 2025-10-17 14:05:02 +08:00
bq27426.c drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
CMakeLists.txt drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
goldfish_battery.c style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
Kconfig battery:add goldfish battery driver 2023-08-11 15:30:35 +08:00
Make.defs drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
max1704x.c drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
mcp73871.c drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00