[PATCH v3 17/20] HID: Add an input configured notification callback

2012-09-01 Thread Henrik Rydberg
A hid device may create several input devices, and a driver may need to prepare or finalize the configuration per input device. Currently, there is no sane way for a driver to know when a device has been configured. This patch adds a callback providing that information. Signed-off-by: Henrik

[PATCH v3 17/20] HID: Add an input configured notification callback

2012-09-01 Thread Henrik Rydberg
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. Cc: Benjamin Tissoires Signed-off-by: Henrik Rydberg ---

[PATCH v3 17/20] HID: Add an input configured notification callback

2012-09-01 Thread Henrik Rydberg
A hid device may create several input devices, and a driver may need to prepare or finalize the configuration per input device. Currently, there is no sane way for a driver to know when a device has been configured. This patch adds a callback providing that information. Signed-off-by: Henrik

[PATCH v3 17/20] HID: Add an input configured notification callback

2012-09-01 Thread Henrik Rydberg
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. Cc: Benjamin Tissoires benjamin.tissoi...@enac.fr Signed-off-by: Henrik Rydberg