]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerJiri Slaby <jslaby@suse.cz>
Mon, 26 Jan 2015 13:38:50 +0000 (14:38 +0100)
commit19fd1c1aad20eff874b7187cfdddb46d25786260
tree25d562ecac0d6dd8fa4058a74f6cbd2c6529e2ab
parent126193e0b6e590a4943566136619778546a79856
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: Jiri Slaby <jslaby@suse.cz>
drivers/hid/hid-input.c