]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Tue, 7 Mar 2017 00:56:18 +0000 (16:56 -0800)
commit13aaee817fbadac3fdee663b6c75d8feb5a63731
treedfc2bd3a206cb16706acd86f7dcae5bcef4916ba
parentbb901b22597d83227ae90566963e8e3275b3acd3
Input: vmmouse - fix absolute device registration

Orabug: 25652572

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>
(cherry picked from commit d4f1b06d685d11ebdaccf11c0db1cb3c78736862)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/input/mouse/vmmouse.c