]> 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>
Mon, 10 Sep 2012 18:00:00 +0000 (20:00 +0200)
commit09d1f9d239b4edaf1e06feb479d5fac3fc678e95
treeb82fe48714a1459d2a835c859edaf317b6bcd480
parent0a5e82c3090cefa7c1ab3bd0bac04b3eb30cb354
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