diff options
| author | Marcel Holtmann <marcel@holtmann.org> | 2019-12-04 03:43:55 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-14 20:07:00 +0100 |
| commit | 2d21f37e521260963f87cb9ff22099692450e5f5 (patch) | |
| tree | d910ab8ba69a4da31d34bcaeacf10b1591b41131 /drivers/input/input.c | |
| parent | 31d06cc8e7caec36bedeb4f90444920431462f61 (diff) | |
HID: uhid: Fix returning EPOLLOUT from uhid_char_poll
commit be54e7461ffdc5809b67d2aeefc1ddc9a91470c7 upstream.
Always return EPOLLOUT from uhid_char_poll to allow polling /dev/uhid
for writable state.
Fixes: 1f9dec1e0164 ("HID: uhid: allow poll()'ing on uhid devices")
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Cc: stable@vger.kernel.org
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/input/input.c')
0 files changed, 0 insertions, 0 deletions
