]> git.baikalelectronics.ru Git - kernel.git/commit
Input: vmmouse - fix absolute device registration
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 16 Jan 2016 18:04:49 +0000 (10:04 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 28 Jan 2016 00:03:30 +0000 (16:03 -0800)
commit767fb54166dfec52cd129397af689547d7e25652
tree0ad5cf6a883812393d23597b93e222ec7eb15d72
parent77d2890deb3ddb2b9a3e3865b2cdb6e3ae6ce494
Input: vmmouse - fix absolute device registration

We should set device's capabilities first, and then register it,
otherwise various handlers already present in the kernel will not be
able to connect to the device.

Reported-by: Lauri Kasanen <cand@gmx.com>
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/vmmouse.c