Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Anssi Hannula and committed by
Jiri Kosina
c4146067 62d0cfcb

+1 -5
+1 -5
drivers/usb/input/hid-core.c
··· 1315 1315 return -ENODEV; 1316 1316 } 1317 1317 1318 - /* This only gets called when we are a single-input (most of the 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)) 1318 + if ((hid->claimed & HID_CLAIMED_INPUT)) 1323 1319 hid_ff_init(hid); 1324 1320 1325 1321 printk(KERN_INFO);