linux-kernel-test/drivers/media/video/cx23885
Darron Broad 59b1842da1 V4L/DVB (9227): MFE: Add multi-frontend mutual exclusion
This add frontend R/W mutual exclusion.
Prior to this point in time it was possible to open both
frontends simultaneously which an MFE card cannot support.

In order to stop this, a delayed open is performed which
has the following function:

-  Return EBUSY after a configurable amount of time
   if a frontend is unavailable due to the other being
   in use.

-  Only allow opening of a frontend if the kernel thread
   of the other has stopped.

This solution was chosen to allow switching between
frontends to work as seamlessly as possible. When both
frontends are actually opened simultaneously then one
will only open, but if quick switching is performed
between one of many then the new open will succeed in
a clean fashion rather than interrupting a kernel
thread.

Signed-off-by: Darron Broad <darron@kewl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-17 17:24:15 -03:00
..
cx23885-417.c V4L/DVB: v4l2-dev: remove duplicated #include 2008-10-13 09:57:20 -02:00
cx23885-cards.c V4L/DVB (9049): convert tuner drivers to use dvb_frontend->callback 2008-10-12 09:37:09 -02:00
cx23885-core.c V4L/DVB (8559): replace __FUNCTION__ with __func__ 2008-10-12 09:36:56 -02:00
cx23885-dvb.c V4L/DVB (9227): MFE: Add multi-frontend mutual exclusion 2008-10-17 17:24:15 -03:00
cx23885-i2c.c V4L/DVB (8805): Steven Toth email address change 2008-09-03 18:37:21 -03:00
cx23885-reg.h V4L/DVB (8805): Steven Toth email address change 2008-09-03 18:37:21 -03:00
cx23885-vbi.c V4L/DVB (8906): v4l-dvb: fix assorted sparse warnings 2008-10-12 09:36:58 -02:00
cx23885-video.c V4L/DVB (8906): v4l-dvb: fix assorted sparse warnings 2008-10-12 09:36:58 -02:00
cx23885.h V4L/DVB (9222): S2API: Add Multiple-frontend on a single adapter support. 2008-10-17 17:23:10 -03:00
Kconfig V4L/DVB (8807): Add DVB support for the Leadtek Winfast PxDVR3200 H 2008-10-12 09:36:55 -02:00
Makefile V4L/DVB(7767): Move tuners to common/tuners 2008-04-29 18:41:37 -03:00