[patch 54/87] HID: fix dropped device-specific quirks
From: Greg KH
Date: Tue Jun 09 2009 - 06:30:22 EST
2.6.29-stable review patch. If anyone has any objections, please let us know.
------------------
From: Zoltan Karcagi <zkr@xxxxxxxxxxx>
commit f5208997087e6eb2096532b5a313eeb236535bdc upstream.
Device-specific quirks are set up correctly in their respective vendor-specific
driver, then get overwritten in usbhid_parse().
This is only issue for device-specific NOGET quirks being set by driver for a
few devices out there.
Signed-off-by: Zoltan Karcagi <zkr@xxxxxxxxxxx>
Signed-off-by: Jiri Kosina <jkosina@xxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx>
---
drivers/hid/usbhid/hid-core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/hid/usbhid/hid-core.c
+++ b/drivers/hid/usbhid/hid-core.c
@@ -765,7 +765,7 @@ static int usbhid_parse(struct hid_devic
goto err;
}
- hid->quirks = quirks;
+ hid->quirks |= quirks;
return 0;
err:
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/