Thread (3 messages) 3 messages, 3 authors, 2021-08-20

Re: [PATCH v4] HID: logitech-hidpp: battery: provide CAPACITY property for newer devices

flat view

From: Jiri Kosina <jikos@kernel.org>
Date: 2021-08-20 12:33:18
Also in: lkml

On Mon, 2 Aug 2021, Hamza Mahfooz wrote:
For devices that only support the BATTERY_VOLTAGE (0x1001) feature, UPower
requires the additional information provided by this patch, to set them up.

Signed-off-by: Hamza Mahfooz <redacted>
---

v2: use ARRAY_SIZE() and set voltages[]'s size to 100

v3: add a check to ensure that exactly 100 elements are in voltages[]

v4: add a note regarding the voltage curve and introduce a bounds check on
    the reported voltage
Applied, thanks.

-- 
Jiri Kosina
SUSE Labs
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help