[alsa-devel] [PATCH 1/2] caiaq/NativeInstruments: input handling fixes

Daniel Mack daniel at caiaq.org
Tue Nov 20 14:35:28 CET 2007


I'm re-posting a patch from Dmitry Torokhov which cleans up some input
layer related things. It hasn't made its way to any repository yet but
my subsequent patch needs it as dependency. I Cc'ed Dmitry to avoid

Subject: SOUND: caiaq - misc input handling fixes
From: Dmitry Torokhov <dmitry.torokhov at gmail.com>

SOUND: 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

Signed-off-by: Dmitry Torokhov <dtor at mail.ru>
Acked-by: Daniel Mack <daniel at caiaq.de>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: alsa-caiaq-1.2.0-inputfixes.diff
Type: text/x-diff
Size: 9673 bytes
Desc: not available
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20071120/476366ac/attachment.bin 

More information about the Alsa-devel mailing list