UBUNTU: SAUCE: hid: ntrig: Correct logic for quirks
authorHenrik Rydberg <rydberg@euromail.se>
Fri, 10 Sep 2010 14:03:45 +0000 (16:03 +0200)
committerLeann Ogasawara <leann.ogasawara@canonical.com>
Mon, 28 Mar 2011 13:49:17 +0000 (06:49 -0700)
commit32cbc8268a7aa9491a7c0753de41739a60792189
tree1e79fc60b9dbf4c55f01947b93f74385184d9eb1
parent6e8c5315d06ed563e5051c890a042ae5812a5914
UBUNTU: SAUCE: hid: ntrig: Correct logic for quirks

The driver data is a bitmask, check for correct bits.

Has been tested succesfully on Dell Studio 17, Dell XT2, HP TX2 and
Lenovo T410s. Not likely to go upstream in its present form. However,
it does help constitue a tuning-free driver which works well together
with Unity, and as such are vital to the MT push.

Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Acked-by: Chase Douglas <chase.douglas@canonical.com>
Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
drivers/hid/hid-ntrig.c