[media] tlg2300: allow multiple opens
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 16 Jul 2012 14:52:41 +0000 (11:52 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 5 Mar 2013 14:00:26 +0000 (11:00 -0300)
commit60c66b6f276ec2a1f76788f0833ad2bf366522b6
treeb93f8f22566268cd124feeacd5f099015ee9e210
parentd4de6e406211028b9186e223b766bcd17579ec97
[media] tlg2300: allow multiple opens

Due to a poor administration of the driver state it wasn't possible to open
a video or vbi device multiple times.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Huang Shijie <shijie8@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/tlg2300/pd-common.h
drivers/media/usb/tlg2300/pd-video.c