V4L/DVB (5842): ivtv: Add locking to ensure stream setup is atomic.
authorHans Verkuil <hverkuil@xs4all.nl>
Tue, 10 Jul 2007 17:58:33 +0000 (14:58 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 18 Jul 2007 17:24:47 +0000 (14:24 -0300)
Starting an MPEG and VBI capture simultaneously caused errors in
the VBI setup: this setup was done twice when it should be done
only for the first stream that is opened.
Added a mutex to prevent this from happening.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>

No differences found