diff options
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2014-09-23 18:08:06 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2014-10-01 09:11:22 +0200 |
commit | 2546dacd3e0e48c40bbb99caf01455f1ade9bb24 (patch) | |
tree | 6c62cd095516c8a28fb8aace135bb5bd019f2606 /drivers/hid/wacom_wac.h | |
parent | HID: wacom: rename failN with some meaningful information (diff) | |
download | linux-2546dacd3e0e48c40bbb99caf01455f1ade9bb24.tar.xz linux-2546dacd3e0e48c40bbb99caf01455f1ade9bb24.zip |
HID: wacom: split out input allocation and registration
If the input can be created earlier during probe, we can already populate
them while reading the report descriptor. This way, we can rely on the
hid subsystem directly for tablets which already provide a meaningful
report descriptor (like ISDv4-5).
This patch only splits the allocation and registration, but do not
change where we allocate the input. This will come in a later patch.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Acked-by: Jason Gerecke <killertofu@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/wacom_wac.h')
-rw-r--r-- | drivers/hid/wacom_wac.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hid/wacom_wac.h b/drivers/hid/wacom_wac.h index 339ab5d81a2d..72f9ca8e5cd4 100644 --- a/drivers/hid/wacom_wac.h +++ b/drivers/hid/wacom_wac.h @@ -167,6 +167,7 @@ struct wacom_wac { struct wacom_shared *shared; struct input_dev *input; struct input_dev *pad_input; + bool input_registered; int pid; int battery_capacity; int num_contacts_left; |