HID: hid-multitouch: Simplify setup and frame synchronization
authorHenrik Rydberg <rydberg@euromail.se>
Sat, 1 Sep 2012 18:11:34 +0000 (20:11 +0200)
committerHenrik Rydberg <rydberg@euromail.se>
Wed, 19 Sep 2012 17:50:20 +0000 (19:50 +0200)
commit76f5902aebdabcac5b1c34b8d9a238bad397364f
tree9d8aa7531ceff493700d59ae988fa9545b3029cd
parent7e55bdedfa4a72baa0d4fec8d0948cb65342a9a0
HID: hid-multitouch: Simplify setup and frame synchronization

With the input_configured() callback in place, the setup and frame
synchronization can be simplified. The input device initialization is
moved to mt_input_configured(), to make sure the full HID report has been
seen.

Reviewed-and-tested-by: Benjamin Tissoires <benjamin.tissoires@enac.fr>
Acked-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
drivers/hid/hid-multitouch.c