]> git.karo-electronics.de Git - karo-tx-linux.git/commit
HID: Add an input configured notification callback
authorHenrik Rydberg <rydberg@euromail.se>
Mon, 30 Jul 2012 11:28:18 +0000 (13:28 +0200)
committerHenrik Rydberg <rydberg@euromail.se>
Sat, 15 Sep 2012 15:02:12 +0000 (17:02 +0200)
commite46846ae6abda94e6b99145388eecf0524b85a79
tree6973ce11e93dc97c3d5766bbc8f8b45814c0688e
parent5cf128ff569a15da6384fc3bf7a4db8c47e3df91
HID: Add an input configured notification callback

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.

Reviewed-and-tested-by: Benjamin Tissoires <benjamin.tissoires@enac.fr>
Tested-by: Ping Cheng <pingc@wacom.com>
Acked-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
drivers/hid/hid-input.c
include/linux/hid.h