diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-03-06 21:57:24 +0100 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-03-29 22:44:23 +0100 |
commit | e4dbedc7eac7da9db363a36f2bd4366962eeefcc (patch) | |
tree | 79330a0e67bdea49030b68173ca016b9ce424a3c /drivers/cpufreq/arm_big_little.c | |
parent | Input: don't modify the id of ioctl-provided ff effect on upload failure (diff) | |
download | linux-e4dbedc7eac7da9db363a36f2bd4366962eeefcc.tar.xz linux-e4dbedc7eac7da9db363a36f2bd4366962eeefcc.zip |
Input: mousedev - fix race when creating mixed device
We should not be using static variable mousedev_mix in methods that can be
called before that singleton gets assigned. While at it let's add open and
close methods to mousedev structure so that we do not need to test if we
are dealing with multiplexor or normal device and simply call appropriate
method directly.
This fixes: https://bugzilla.kernel.org/show_bug.cgi?id=71551
Reported-by: GiulioDP <depasquale.giulio@gmail.com>
Tested-by: GiulioDP <depasquale.giulio@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/cpufreq/arm_big_little.c')
0 files changed, 0 insertions, 0 deletions