summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa6588.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2010-11-26 10:43:51 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-12-01 23:10:18 +0100
commit2877842de8cbf6272b0a851cb12587b7dd8c2afb (patch)
tree1f04f8d9a4873a5904e5a2f0278f3423cef0d2ca /drivers/media/video/saa6588.c
parent[media] cx18: convert to unlocked_ioctl (diff)
downloadlinux-2877842de8cbf6272b0a851cb12587b7dd8c2afb.tar.xz
linux-2877842de8cbf6272b0a851cb12587b7dd8c2afb.zip
[media] v4l2-dev: use mutex_lock_interruptible instead of plain mutex_lock
Where reasonable use mutex_lock_interruptible instead of mutex_lock. Also fix the poll, read and write error codes when called with an unregistered device (e.g. after a USB device was disconnected). Poll must return POLLERR|POLLHUP and read/write must return -ENODEV. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/saa6588.c')
0 files changed, 0 insertions, 0 deletions