Hans Verkuil 2877842de8 [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>
2010-12-01 20:10:18 -02:00
..
2010-11-08 22:35:57 -02:00
2010-11-08 22:35:57 -02:00
2010-10-21 01:05:57 -02:00
2010-11-08 22:35:57 -02:00
2010-11-08 22:35:57 -02:00
2010-11-08 22:35:57 -02:00
2010-10-19 11:30:00 +02:00
2010-11-08 22:35:57 -02:00
2010-11-08 22:35:57 -02:00
2010-10-21 01:06:15 -02:00
2010-10-23 01:17:52 -02:00