summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx18/cx18-driver.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-05-25 13:21:27 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2008-05-25 13:21:27 +0200
commitc0e7a5ba340f87882f15512ef527337f00de4df7 (patch)
tree6752adfa59bee1fcea8e6d19c9b5dabe5e921665 /linux/drivers/media/video/cx18/cx18-driver.c
parent62414e6cacf7caf01ce88944a14c2f7469ecdd89 (diff)
downloadmediapointer-dvb-s2-c0e7a5ba340f87882f15512ef527337f00de4df7.tar.gz
mediapointer-dvb-s2-c0e7a5ba340f87882f15512ef527337f00de4df7.tar.bz2
cx18: allow for simultaneous digital and analog capture
From: Hans Verkuil <hverkuil@xs4all.nl> The HVR-1600 can do both analog and digital capture at the same time. Due to a driver bug -EBUSY would be returned when attempting to setup an analog capture while a digital capture was already in progress. Separate the two internally. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/cx18/cx18-driver.c')
-rw-r--r--linux/drivers/media/video/cx18/cx18-driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx18/cx18-driver.c b/linux/drivers/media/video/cx18/cx18-driver.c
index b8b3a9393..165589348 100644
--- a/linux/drivers/media/video/cx18/cx18-driver.c
+++ b/linux/drivers/media/video/cx18/cx18-driver.c
@@ -889,7 +889,7 @@ static void cx18_remove(struct pci_dev *pci_dev)
/* Stop all captures */
CX18_DEBUG_INFO("Stopping all streams\n");
- if (atomic_read(&cx->capturing) > 0)
+ if (atomic_read(&cx->tot_capturing) > 0)
cx18_stop_all_captures(cx);
/* Interrupts */