diff options
| author | Jiri Kosina <[email protected]> | 2017-02-22 00:13:52 +0000 |
|---|---|---|
| committer | Jiri Kosina <[email protected]> | 2017-02-22 00:13:52 +0000 |
| commit | 2fa299a917adb2db2d486b9e4a3072865ce70a03 (patch) | |
| tree | f05b53af973fcec9994707d2d44abf8abb6545c1 /net/unix/af_unix.c | |
| parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik... (diff) | |
| download | kernel-2fa299a917adb2db2d486b9e4a3072865ce70a03.tar.gz kernel-2fa299a917adb2db2d486b9e4a3072865ce70a03.zip | |
HID: rmi: fallback to generic/multitouch if hid-rmi is not built
Commit 279967a65b32 ("HID: rmi: Handle all Synaptics touchpads using hid-rmi")
unconditionally switches over handling of all Synaptics touchpads to hid-rmi
(to make use of extended features of the HW); in case CONFIG_HID_RMI is
disabled though this renders the touchpad unusable, as the
HID_DEVICE(HID_BUS_ANY, HID_GROUP_RMI, HID_ANY_ID, HID_ANY_ID)
match doesn't exist and generic/multitouch doesn't bind to it either (due
to hid group mismatch).
Fix this by switching over to hid-rmi only if it has been actually built.
Fixes: 279967a65b32 ("HID: rmi: Handle all Synaptics touchpads using hid-rmi")
Reported-by: Linus Torvalds <[email protected]>
Acked-by: Benjamin Tissoires <[email protected]>
Tested-by: Andrew Duggan <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
