Thomas Weißschuh 72b2c1ce14 ACPI: AC: Properly notify powermanagement core about changes
[ Upstream commit ac62f52138f752d6c74adc6321e4996d84caf5bb ]

The powermanagement core does various actions when a powersupply changes.
It calls into notifiers, LED triggers, other power supplies and emits an uevent.

To make sure that all these actions happen properly call power_supply_changed().

Reported-by: Rajas Paranjpe <paranjperajas@gmail.com>
Closes: https://github.com/MrChromebox/firmware/issues/420#issuecomment-2132251318
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-07-25 09:53:20 +02:00
..
2024-03-19 18:30:54 -07:00
2022-05-25 15:37:07 +02:00
2023-09-21 20:55:43 +02:00
2024-03-19 11:15:14 -07:00
2023-03-27 20:50:28 +02:00