Input: joydev - fix JSIOCSAXMAP ioctl
authorKenneth Waters <kwwaters@gmail.com>
Tue, 21 Sep 2010 07:58:23 +0000 (00:58 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 29 Oct 2010 04:43:59 +0000 (21:43 -0700)
commit0bed849274ba1408e45805000a13ccb1c94de4df
tree6ca750545a4f1dc66c6d5559c3e5e62784be596b
parent300ec625eb078f80424e1852d2c3afbe87a6e1c7
Input: joydev - fix JSIOCSAXMAP ioctl

commit d2520a426dc3033c00077e923a553fc6c98c7564 upstream.

Fixed JSIOCSAXMAP ioctl to update absmap, the map from hardware axis to
event axis in addition to abspam.  This fixes a regression introduced
by 999b874f.

Signed-off-by: Kenneth Waters <kwwaters@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/input/joydev.c