[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.LSU.2.20.1708151056340.30597@cbobk.fhfr.pm>
Date: Tue, 15 Aug 2017 10:56:48 +0200 (CEST)
From: Jiri Kosina <jikos@...nel.org>
To: Dmitry Torokhov <dmitry.torokhov@...il.com>
cc: Benjamin Tissoires <benjamin.tissoires@...hat.com>,
Jason Gerecke <killertofu@...il.com>,
linux-input@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] HID: input: throttle battery uevents
On Thu, 10 Aug 2017, Dmitry Torokhov wrote:
> The power_supply subsystem tends to emit uevent every time
> power_supply_changed() is called, so we should call this API only when
> battery strength reported by the device is actually different from the
> previous readings, otherwise we'll drown the system in uevents.
>
> Fixes: 581c4484769e ("HID: input: map digitizer battery usage")
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@...il.com>
Applied to for-4.14/battery. Thanks,
--
Jiri Kosina
SUSE Labs
Powered by blists - more mailing lists