commit | 153e500f516329f439856f52ccbf61d1fd1a946a | [log] [tgz] |
---|---|---|
author | Zhang Rui <rui.zhang@intel.com> | Wed Jul 07 09:11:57 2010 +0800 |
committer | Len Brown <len.brown@intel.com> | Tue Jul 06 22:22:46 2010 -0400 |
tree | 0a3e59203970f03cd0fc1839135b9eb1a6298c4c | |
parent | 815c4163b6c8ebf8152f42b0a5fd015cfdcedc78 [diff] |
ACPI battery: don't invoke power_supply_changed twice when battery is hot-added When battery is hot-added, we should not invoke power_supply_changed in acpi_battery_notify, because it has been invoked in acpi_battery_update, and battery->bat.changed_work is queued in keventd already. https://bugzilla.kernel.org/show_bug.cgi?id=16244 Signed-off-by: Zhang Rui <rui.zhang@intel.com> Acked-by: Alexey Starikovskiy <astarikovskiy@sude.de> Signed-off-by: Len Brown <len.brown@intel.com>