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 Kosina <jkosina@suse.cz>
Wed, 17 Dec 2014 08:02:14 +0000 (09:02 +0100)
commitda940db41dcf8c04166f711646df2f35376010aa
tree24cc9f9084d5d9f6433914d9014c37a88230d8b4
parent0b3f6569a560aa68c9c50cae0e1bc401f7ee699f
HID: add battery quirk for USB_DEVICE_ID_APPLE_ALU_WIRELESS_2011_ISO keyboard

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>
drivers/hid/hid-input.c