Browse Source

HID: fix dropped device-specific quirks

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@freemail.hu>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Zoltan Karcagi 16 years ago
parent
commit
f520899708
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/hid/usbhid/hid-core.c

+ 1 - 1
drivers/hid/usbhid/hid-core.c

@@ -898,7 +898,7 @@ static int usbhid_parse(struct hid_device *hid)
 		goto err;
 		goto err;
 	}
 	}
 
 
-	hid->quirks = quirks;
+	hid->quirks |= quirks;
 
 
 	return 0;
 	return 0;
 err:
 err: