linux/drivers/media/dvb
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
..
b2c2 V4L/DVB (8745): v4l2: fix a bunch of compile warnings. 2008-10-12 09:36:52 -02:00
bt8xx V4L/DVB: follow lspci device/vendor style 2008-10-12 09:36:46 -02:00
dm1105 V4L/DVB (9068): Kconfig dependency fix for DW2002 card with ST STV0288 demodulator. 2008-10-12 09:37:11 -02:00
dvb-core V4L/DVB (9227): MFE: Add multi-frontend mutual exclusion 2008-10-17 17:24:15 -03:00
dvb-usb V4L/DVB (9176): Add support for DvbWorld USB cards with STV0288 demodulator. 2008-10-13 12:27:03 -02:00
frontends V4L/DVB (9184): cx24116: Change the default SNR units back to percentage by default. 2008-10-13 12:28:29 -02:00
pluto2 dma-mapping: add the device argument to dma_mapping_error() 2008-07-26 12:00:03 -07:00
siano V4L/DVB (8979): sms1xxx: Add new USB product ID for Hauppauge WinTV MiniStick 2008-10-04 22:44:58 -03:00
ttpci V4L/DVB (8964): dvb/budget: push adapter_nr mod option down to individual drivers 2008-10-12 09:37:02 -02:00
ttusb-budget V4L/DVB: follow lspci device/vendor style 2008-10-12 09:36:46 -02:00
ttusb-dec V4L/DVB (9040): TTUSB-DEC DVB-S: claim to have lock 2008-10-12 09:37:08 -02:00
Kconfig V4L/DVB (9107): Alternative version of Terratec Cinergy T2 driver 2008-10-12 09:37:14 -02:00
Makefile V4L/DVB (9107): Alternative version of Terratec Cinergy T2 driver 2008-10-12 09:37:14 -02:00