summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/8390
diff options
context:
space:
mode:
authorArmin Wolf <W_Armin@gmx.de>2022-11-30 21:41:01 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-12-02 22:29:19 +0300
commit98b0cf207b61e17f3ea6d9c17334c8ffc2f44863 (patch)
treea52d171c8278569c7fc429f9d5348241783671c0 /drivers/net/ethernet/8390
parentb7b275e60bcd5f89771e865a8239325f86d9927d (diff)
downloadlinux-98b0cf207b61e17f3ea6d9c17334c8ffc2f44863.tar.xz
ACPI: battery: Call power_supply_changed() when adding hooks
If a battery hook is added to a battery, userspace software is not informed that the available properties of the battery might have changed. This for example causes upower to react slowly if a new battery hook is added during runtime. Fix this by calling power_supply_changed() if a battery hook was successfully added/removed. Tested on a Dell Inspiron 3505. Signed-off-by: Armin Wolf <W_Armin@gmx.de> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/net/ethernet/8390')
0 files changed, 0 insertions, 0 deletions