]> git.ipfire.org Git - people/ms/linux.git/commit
HID: add battery quirk for USB_DEVICE_ID_APPLE_ALU_WIRELESS_2011_ISO keyboard
authorKarl Relton <karllinuxtest.relton@ntlworld.com>
Tue, 16 Dec 2014 15:37:22 +0000 (15:37 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Jan 2015 14:59:49 +0000 (06:59 -0800)
commit4fe49b186f5ae891b8b5084938f6c313c436986d
tree96fd954df82c07edab9b54a6a3dc7f4102f65f0d
parente0c4b58501fb05c14b25dabdbbbc747b53d19b98
HID: add battery quirk for USB_DEVICE_ID_APPLE_ALU_WIRELESS_2011_ISO keyboard

commit da940db41dcf8c04166f711646df2f35376010aa upstream.

Apple bluetooth wireless keyboard (sold in UK) has always reported zero
for battery strength no matter what condition the batteries are actually
in. With this patch applied (applying same quirk as other Apple
keyboards), the battery strength is now correctly reported.

Signed-off-by: Karl Relton <karllinuxtest.relton@ntlworld.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hid/hid-input.c