diff options
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2018-03-20 14:04:49 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2018-03-23 17:44:57 +0300 |
commit | 39335d1cbb8fb3260ac5f18fbcc45beb690e5ebd (patch) | |
tree | 1b72589f90d97385d998d28d97a86f6466988b6c /drivers/hid/hid-multitouch.c | |
parent | c30e5989d6926c5c1c77c87ed1e54f506e095d74 (diff) | |
download | linux-39335d1cbb8fb3260ac5f18fbcc45beb690e5ebd.tar.xz |
HID: core: remove the need for HID_QUIRK_NO_EMPTY_INPUT
There is no real point of registering an empty input node.
This should be default, but given some drivers need the blank input
node to set it up during input_configured, we need to postpone
the check for hidinput_has_been_populated().
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-multitouch.c')
-rw-r--r-- | drivers/hid/hid-multitouch.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c index bc724e6b75c9..c4d89830cd1f 100644 --- a/drivers/hid/hid-multitouch.c +++ b/drivers/hid/hid-multitouch.c @@ -1469,7 +1469,6 @@ static int mt_probe(struct hid_device *hdev, const struct hid_device_id *id) * device. */ hdev->quirks |= HID_QUIRK_MULTI_INPUT; - hdev->quirks |= HID_QUIRK_NO_EMPTY_INPUT; /* * Some multitouch screens do not like to be polled for input |