]> err.no Git - linux-2.6/commit
[ALSA] caiaq - misc input handling fixes
authorDmitry Torokhov <dtor@mail.ru>
Wed, 21 Nov 2007 15:45:23 +0000 (16:45 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 31 Jan 2008 16:29:27 +0000 (17:29 +0100)
commitb18b493f27bfb0d112a54ef24a1db32e898abff9
tree1b4b69f643bb4705ffd105dfa00ac7aa987185aa
parentee6df2e1849403b5805018193a1454f6d39f9498
[ALSA] caiaq - misc input handling fixes

 - link input device with its parent so that it placed in proper spot
   in sysfs hierarchy
 - drivers that allow changing their keymaps should use private copy
   of the keymap so that one instance of a device does not affect
   another instance
 - it is preferred for drivers to properly set up input_dev->phys to
   help userspace locate devices
 - drivers should use usb_to_input_id(), or perform endianess conversion,
   themselves, otherwise ID is not correct on big-endian boxes
 - whitespace and formatting cleanup
Acked-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/usb/caiaq/caiaq-device.h
sound/usb/caiaq/caiaq-input.c