ACPI: Battery: remove cycle from battery removal.
get_property() should not call battery_update(), it also should call get_status() only if battery is present to avoid cycle and oops. Signed-off-by:Alexey Starikovskiy <astarikovskiy@suse.de> Tested-by:
Rolf Eike Beer <eike-kernel@sf-tec.de> Acked-by:
Johannes Weiner <hannes@saeurebad.de> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
Please register or sign in to comment