diff options
author | 2017-11-10 10:21:53 -0800 | |
---|---|---|
committer | 2017-11-10 10:29:53 -0800 | |
commit | 781f2dd0a5eb8e660c0a5dbb11a69aed72f26657 (patch) | |
tree | 03aa15ba86ca4dbc409f039bc844c6bf639e6252 /drivers/input/joystick/spaceball.c | |
parent | Input: add support for the Samsung S6SY761 touchscreen (diff) | |
download | linux-dev-781f2dd0a5eb8e660c0a5dbb11a69aed72f26657.tar.xz linux-dev-781f2dd0a5eb8e660c0a5dbb11a69aed72f26657.zip |
Input: uinput - unlock on allocation failure in ioctl
We have to unlock before returning if input_allocate_device() fails.
Fixes: 04ce40a61a91 ("Input: uinput - remove uinput_allocate_device()")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions