diff options
author | Anssi Hannula <anssi.hannula@gmail.com> | 2007-01-11 09:51:16 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2007-02-05 04:00:02 -0500 |
commit | c4146067fd7889bc6fab6cdfd8b2795d745a2156 (patch) | |
tree | 07075a36c816c0d821229a6cfed3eb4cc077db2c /drivers/usb/input | |
parent | 62d0cfcb27cf755cebdc93ca95dabc83608007cd (diff) |
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
patch.
Signed-off-by: Anssi Hannula <anssi.hannula@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/usb/input')
-rw-r--r-- | 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 c6c9e72e5fd9..2971182bbdf6 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) | |||
1315 | return -ENODEV; | 1315 | return -ENODEV; |
1316 | } | 1316 | } |
1317 | 1317 | ||
1318 | /* This only gets called when we are a single-input (most of the | 1318 | if ((hid->claimed & HID_CLAIMED_INPUT)) |
1319 | * time). IOW, not a HID_QUIRK_MULTI_INPUT. The hid_ff_init() is | ||
1320 | * only useful in this case, and not for multi-input quirks. */ | ||
1321 | if ((hid->claimed & HID_CLAIMED_INPUT) && | ||
1322 | !(hid->quirks & HID_QUIRK_MULTI_INPUT)) | ||
1323 | hid_ff_init(hid); | 1319 | hid_ff_init(hid); |
1324 | 1320 | ||
1325 | printk(KERN_INFO); | 1321 | printk(KERN_INFO); |