Thread (5 messages) 5 messages, 2 authors, 2012-07-04

Re: [Patch] Add Apple wireless keyboard to the quirk list

From: Jiri Kosina <hidden>
Date: 2012-07-04 13:48:23

On Wed, 4 Jul 2012, Daniel Nicoletti wrote:
quoted hunk ↗ jump to hunk
Ok sorry for the delay (too much stuff),
I'm used to have commit access on the stuff I contribute so
I didn't know this git format-patch thing, which someone pointed out to me.
Should I use git send-email too?

Thanks.
quoted
From cc0225ce44f037f7ce9ecb876e65b5e8079d5665 Mon Sep 17 00:00:00 2001
From: Daniel Nicoletti <redacted>
Date: Wed, 4 Jul 2012 10:20:31 -0300
Subject: [PATCH 1/1] hid-input: Add Apple's Wireless keyboard
 (USB_DEVICE_ID_APPLE_ALU_WIRELESS_ANSI), to the quirk
 list since it report wrong feature type and wrong
 percentage range.


Signed-off-by: Daniel Nicoletti <redacted>
---
 drivers/hid/hid-input.c |    3 +++
 1 file changed, 3 insertions(+)
diff --git a/drivers/hid/hid-input.c b/drivers/hid/hid-input.c
index 132b001..33d88d1 100644
--- a/drivers/hid/hid-input.c
+++ b/drivers/hid/hid-input.c
@@ -301,6 +301,9 @@ static const struct hid_device_id hid_battery_quirks[] = {
        { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_APPLE,
                               USB_DEVICE_ID_APPLE_ALU_WIRELESS_2011_ANSI),
          HID_BATTERY_QUIRK_PERCENT | HID_BATTERY_QUIRK_FEATURE },
+       { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_APPLE,
+                              USB_DEVICE_ID_APPLE_ALU_WIRELESS_ANSI),
+         HID_BATTERY_QUIRK_PERCENT | HID_BATTERY_QUIRK_FEATURE },
Daniel,

the patch has been whitespace damaged. I have fixed it now and applied, 
but please fix your workflow (likely e-mail client) for further 
submissions in this respect.

-- 
Jiri Kosina
SUSE Labs
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help