]> git.baikalelectronics.ru Git - kernel.git/commit
[media] ivtv: Make two ivtv_msleep_timeout calls uninterruptable
authorIan Armstrong <ian@iarmst.demon.co.uk>
Sun, 29 May 2011 23:09:24 +0000 (20:09 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 1 Jun 2011 11:45:03 +0000 (08:45 -0300)
commit3c7bca985b438174212b9bbc822bd5821e14fd82
treeb5e02ab1dd9336620817acd354b906737f82342a
parent2f0cd5ea7a87f57c70bec94ee8b709a0da9e52d5
[media] ivtv: Make two ivtv_msleep_timeout calls uninterruptable

Two ivtv_msleep_timeout() calls are incorrectly flagged as interruptable. The
first is in the init sequence for a capture and is required for stable
hardware setup. The second is at the end of the capture and used to handle the
last data transfer. Failure to wait for this last transfer can result in stale
data being read at the start of the next capture.

Signed-off-by: Ian Armstrong <ian@iarmst.demon.co.uk>
Signed-off-by: Andy Walls <awalls@md.metrocast.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/ivtv/ivtv-streams.c