Input: mousedev - fix regression of inverting axes
authorChristoph Fritz <chf.fritz@googlemail.com>
Tue, 24 Aug 2010 07:33:37 +0000 (00:33 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 25 Aug 2010 14:50:44 +0000 (07:50 -0700)
commit268ba5c05b82af575819bd719a2facb2a3169260
tree8ce615e190e39bbc24e689e221a39390cc8d9fa7
parent8905aaafb4b5d9764c5b4b54c7d03eb41bb0a7e9
Input: mousedev - fix regression of inverting axes

Introduced by 987a6c0298260b7aa40702b349282554d6180e4b a swap in max/min
calculation gets fixed by this patch.

Reported-by: Bruno Prémont <bonbons@linux-vserver.org>
Signed-off-by: Christoph Fritz <chf.fritz@googlemail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mousedev.c