+6
−4
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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>