]> git.baikalelectronics.ru Git - kernel.git/commit
HID: logitech-hidpp: battery: provide CAPACITY property for newer devices
authorHamza Mahfooz <someguy@effective-light.com>
Mon, 2 Aug 2021 12:52:32 +0000 (08:52 -0400)
committerJiri Kosina <jkosina@suse.cz>
Fri, 20 Aug 2021 12:32:39 +0000 (14:32 +0200)
commit73be603ee9126aa1777ded6e3c1a1bc67303f571
treea7b2a2f5d69f2ceb7ddfb7e2cb8a84521fc01fcf
parent95b29802eb1de45fda63c8c2a1209b7c6f6d9f82
HID: logitech-hidpp: battery: provide CAPACITY property for newer devices

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 <someguy@effective-light.com>
Reviewed-by: Filipe LaĆ­ns <lains@riseup.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-logitech-hidpp.c