V4L/DVB (6583): Fix em28xx read stream locking
authorMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 11 Nov 2007 04:08:26 +0000 (01:08 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:02:06 +0000 (19:02 -0200)
commita225452ef80a7bd894fd2dfd01a4973d444152f4
tree397c483c75751106545ef989d83fe25a7c57347b
parenta3a048cea301baba5d451991074a85dc20a8f228
V4L/DVB (6583): Fix em28xx read stream locking

On some situations, closing an streaming application and re-opening were
returning -EBUSY.

Uses the same locking schema also present on cx88.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/em28xx/em28xx-video.c
drivers/media/video/em28xx/em28xx.h