summaryrefslogtreecommitdiffstats
path: root/Documentation/DocBook
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2014-02-26 08:01:48 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-03-11 09:23:10 -0300
commitf97881fe500026053c24d2a0ef8aebfd3c2a1ca8 (patch)
treea1414034e0efee56facc1203b1da0e6f1b89f10a /Documentation/DocBook
parent111eeaa73a10513ce47339445b1b164041a835b3 (diff)
downloadop-kernel-dev-f97881fe500026053c24d2a0ef8aebfd3c2a1ca8.zip
op-kernel-dev-f97881fe500026053c24d2a0ef8aebfd3c2a1ca8.tar.gz
[media] arv: fix sleep_on race
interruptible_sleep_on is racy and going away. In the arv driver that race has probably never caused problems since it would require a whole video frame to be captured before the read function has a chance to go to sleep, but using wait_event_interruptible lets us kill off the old interface. In order to do this, we have to slightly adapt the meaning of the ar->start_capture field to distinguish between not having started a frame and having completed it. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'Documentation/DocBook')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud