[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAFv60hJgyyS8WmqzKciUCHCQ92Vr4_DA1Q3XNfZWf4EuU=+MEA@mail.gmail.com>
Date: Sat, 27 Mar 2021 22:14:19 +0800
From: Pochang Chen <johnchen902@...il.com>
To: linux-kernel@...r.kernel.org
Cc: Rohit Pidaparthi <rohitpid@...il.com>,
RicardoEPRodrigues <ricardo.e.p.rodrigues@...il.com>,
Jiri Kosina <jikos@...nel.org>,
Benjamin Tissoires <benjamin.tissoires@...hat.com>
Subject: Re: [PATCH 4/4] HID: input: map battery capacity (00850065)
On Sat, Mar 27, 2021 at 9:06 PM John Chen <johnchen902@...il.com> wrote:
> + hidinput_setup_battery(device, HID_INPUT_REPORT, field);
> + usage->type = EV_PWR;
> + device->battery_min = 0;
> + device->battery_max = 100;
I just realized that this won't compile without CONFIG_HID_BATTERY_STRENGTH.
Powered by blists - more mailing lists