aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorAristeu Sergio Rozanski Filho <aris@ruivo.org>2009-05-14 22:01:57 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2009-05-15 19:23:44 -0700
commit05cebd3816dabfb223abe27b3ad3b50140c457a0 (patch)
tree883dbf8b1a8cb1ff4974a902f63ffc75ff890f5d /crypto
parent3d5cb60ef3042ac479dab82e5a945966a0d54d53 (diff)
downloadkernel_samsung_smdk4412-05cebd3816dabfb223abe27b3ad3b50140c457a0.zip
kernel_samsung_smdk4412-05cebd3816dabfb223abe27b3ad3b50140c457a0.tar.gz
kernel_samsung_smdk4412-05cebd3816dabfb223abe27b3ad3b50140c457a0.tar.bz2
Input: uinput - flush all pending ff effects before destroying device
The destruction of a input device in uinput is triggered by an ioctl(). If a process tries to destroy an input device while other is uploading a force feedback effect by evdev to the same device, they'll deadlock. This patch fixes the problem by flushing all pending FF uploads before destroying the device and preventing new uploads during this operation. [dtor@mail.ru: fix logic that ensures we don't submit new requests to the device that is being destroyed.] Signed-off-by: Aristeu Rozanski <aris@redhat.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions