summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx18
diff options
context:
space:
mode:
authorAndy Walls <awalls@radix.net>2009-01-03 12:21:30 -0500
committerAndy Walls <awalls@radix.net>2009-01-03 12:21:30 -0500
commitbb03fecf7666d134e900e644a19a8a7b6ca0ccde (patch)
treef0fc0a10a786398d7f64ff03b6656df977d26221 /linux/drivers/media/video/cx18
parentd47ee226646d66e244c30d48ea1486919d00755f (diff)
downloadmediapointer-dvb-s2-bb03fecf7666d134e900e644a19a8a7b6ca0ccde.tar.gz
mediapointer-dvb-s2-bb03fecf7666d134e900e644a19a8a7b6ca0ccde.tar.bz2
cx18, cx2341x: Fix bugs in cx18 AC3 control and comply with V4L2 spec
From: Andy Walls <awalls@radix.net> Fix bugs in the cx18 AC3 control implementation that would have affected ivtv and other drivers via the cx2341x module. Bring AC3 controls behavior into comliance with V4L2 specification. Thanks to Hans Verkuil for reviewing the previous patch and pointing out the problems. Reported-by: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Andy Walls <awalls@radix.net>
Diffstat (limited to 'linux/drivers/media/video/cx18')
-rw-r--r--linux/drivers/media/video/cx18/cx18-driver.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/linux/drivers/media/video/cx18/cx18-driver.c b/linux/drivers/media/video/cx18/cx18-driver.c
index dd23991fc..ab8c426f8 100644
--- a/linux/drivers/media/video/cx18/cx18-driver.c
+++ b/linux/drivers/media/video/cx18/cx18-driver.c
@@ -592,8 +592,7 @@ static int __devinit cx18_init_struct1(struct cx18 *cx)
(cx->params.video_temporal_filter_mode << 1) |
(cx->params.video_median_filter_type << 2);
cx->params.port = CX2341X_PORT_MEMORY;
- cx->params.capabilities = CX2341X_CAP_HAS_TS | CX2341X_CAP_HAS_AC3 |
- CX2341X_CAP_HAS_LPCM;
+ cx->params.capabilities = CX2341X_CAP_HAS_TS | CX2341X_CAP_HAS_AC3;
init_waitqueue_head(&cx->cap_w);
init_waitqueue_head(&cx->mb_apu_waitq);
init_waitqueue_head(&cx->mb_cpu_waitq);