Commit:     c4146067fd7889bc6fab6cdfd8b2795d745a2156
Parent:     62d0cfcb27cf755cebdc93ca95dabc83608007cd
Author:     Anssi Hannula <[EMAIL PROTECTED]>
AuthorDate: Thu Jan 11 16:51:16 2007 +0200
Committer:  Jiri Kosina <[EMAIL PROTECTED]>
CommitDate: Mon Feb 5 10:00:02 2007 +0100

    hid: allow force feedback for multi-input devices
    Allow hid devices with HID_QUIRK_MULTI_INPUT to have force feedback.
    This was previously disabled because there were not any force
    feedback drivers for such devices. This will change with my upcoming
    Signed-off-by: Anssi Hannula <[EMAIL PROTECTED]>
    Signed-off-by: Jiri Kosina <[EMAIL PROTECTED]>
 drivers/usb/input/hid-core.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/drivers/usb/input/hid-core.c b/drivers/usb/input/hid-core.c
index c6c9e72..2971182 100644
--- a/drivers/usb/input/hid-core.c
+++ b/drivers/usb/input/hid-core.c
@@ -1315,11 +1315,7 @@ static int hid_probe(struct usb_interface *intf, const 
struct usb_device_id *id)
                return -ENODEV;
-       /* This only gets called when we are a single-input (most of the
-        * time). IOW, not a HID_QUIRK_MULTI_INPUT. The hid_ff_init() is
-        * only useful in this case, and not for multi-input quirks. */
-       if ((hid->claimed & HID_CLAIMED_INPUT) &&
-                       !(hid->quirks & HID_QUIRK_MULTI_INPUT))
+       if ((hid->claimed & HID_CLAIMED_INPUT))
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to