LKML Archive on
help / color / mirror / Atom feed
From: Jiri Kosina <>
To: Hamza Mahfooz <>
Cc:, "Filipe Laíns" <>,
	"Bastien Nocera" <>,
	"Benjamin Tissoires" <>,
Subject: Re: [PATCH v4] HID: logitech-hidpp: battery: provide CAPACITY property for newer devices
Date: Fri, 20 Aug 2021 14:33:13 +0200 (CEST)	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

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 <>
> ---
> 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

      parent reply	other threads:[~2021-08-20 12:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-02 12:52 Hamza Mahfooz
2021-08-02 13:57 ` Filipe Laíns
2021-08-20 12:33 ` Jiri Kosina [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \
    --subject='Re: [PATCH v4] HID: logitech-hidpp: battery: provide CAPACITY property for newer devices' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).