diff options
author | Roland Stoll <roland@xindex.de> | 2008-02-11 13:00:34 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-02-18 11:15:19 -0300 |
commit | 27d0fe189437803d5ad146d508ec2fd77252c73f (patch) | |
tree | 848a078d589dfe3abc969a4fd75859812242d0b6 /drivers/media/video/cx88/cx88.h | |
parent | 968fb08912880e34a05a0cca7907392bac920aa2 (diff) | |
download | linux-27d0fe189437803d5ad146d508ec2fd77252c73f.tar.gz linux-27d0fe189437803d5ad146d508ec2fd77252c73f.tar.bz2 linux-27d0fe189437803d5ad146d508ec2fd77252c73f.zip |
V4L/DVB (7194): cx88-mpeg: Allow concurrent access to cx88-mpeg devices
It currently isn't possible to open the frontend device of cx88-mpeg devices
(DVB or Blackbird) multiple times concurrently. (for instance, to attach a
signal monitoring tool while reading a stream, or to send a frequency change
ioctl) This patch fixes that condition.
Signed-off-by: Roland Stoll <roland@xindex.de>
Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
Reviewed-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/cx88/cx88.h')
-rw-r--r-- | drivers/media/video/cx88/cx88.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/cx88/cx88.h b/drivers/media/video/cx88/cx88.h index 4e823f2a539a..37e6d2e4002f 100644 --- a/drivers/media/video/cx88/cx88.h +++ b/drivers/media/video/cx88/cx88.h @@ -336,6 +336,7 @@ struct cx88_core { /* cx88-video needs to access cx8802 for hybrid tuner pll access. */ struct cx8802_dev *dvbdev; enum cx88_board_type active_type_id; + int active_ref; }; struct cx8800_dev; |