Skip to contentSkip to conversation

cx23885 alsa cleaned and prepaired

PATCH In review Igor M. Liplianin 4 participants 10 messages Oct 10, 2011 – Oct 17, 2011 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cx23885 alsa cleaned and prepaired

Hi Mauro and Steven,

It's been a long time since cx23885-alsa pull was requested.
To speed things up I created a git branch where I put the patches.
Some patches merged, like introduce then correct checkpatch compliance
or convert spinlock to mutex and back to spinlock, insert printk then remove printk as well. Minor corrections from me was silently merged, for major I created additional patches.

Hope it helps.

The following changes since commit e30528854797f057aa6ffb6dc9f890e923c467fd:

[media] it913x-fe changes to power up and down of tuner (2011-10-08 08:03:27 -0300)

are available in the git repository at:
git://linuxtv.org/liplianin/media_tree.git cx23885-alsa-clean-2

Igor M. Liplianin (2):
cx23885: videobuf: Remove the videobuf_sg_dma_map/unmap functions
cx25840-audio: fix missing state declaration

Mijhail Moreyra (6):
cx23885: merge mijhail's header changes for alsa
cx23885: ALSA support
cx23885: core changes requireed for ALSA
cx23885: add definitions for HVR1500 to support audio
cx23885: correct the contrast, saturation and hue controls
cx23885: hooks the alsa changes into the video subsystem

Steven Toth (31):
cx23885: prepare the cx23885 makefile for alsa support
cx23885: convert from snd_card_new() to snd_card_create()
cx23885: convert call clients into subdevices
cx23885: minor function renaming to ensure uniformity
cx23885: setup the dma mapping for raw audio support
cx23885: mute the audio during channel change
cx23885: add two additional defines to simplify VBI register bitmap handling
cx23885: initial support for VBI with the cx23885
cx23885: initialize VBI support in the core, add IRQ support, register vbi device
cx23885: minor printk cleanups and device registration
cx25840: enable raw cc processing only for the cx23885 hardware
cx23885: vbi line window adjustments
cx23885: add vbi buffer formatting, window changes and video core changes
cx23885: Ensure the VBI pixel format is established correctly.
cx23885: ensure video is streaming before allowing vbi to stream
cx23885: remove channel dump diagnostics when a vbi buffer times out.
cx23885: Ensure VBI buffers timeout quickly - bugfix for vbi hangs during streaming.
cx23885: Name an internal i2c part and declare a bitfield by name
cx25840: Enable support for non-tuner LR1/LR2 audio inputs
cx23885: Enable audio line in support from the back panel
cx25840: Ensure AUDIO6 and AUDIO7 trigger line-in baseband use.
cx23885: Initial support for the MPX-885 mini-card
cx23885: fixes related to maximum number of inputs and range checking
cx23885: add generic functions for dealing with audio input selection
cx23885: hook the audio selection functions into the main driver
cx23885: v4l2 api compliance, set the audioset field correctly
cx23885: Removed a spurious function cx23885_set_scale().
cx23885: Avoid stopping the risc engine during buffer timeout.
cx23885: Avoid incorrect error handling and reporting
cx23885: Stop the risc video fifo before reconfiguring it.
cx23885: Allow the audio mux config to be specified on a per input basis.

 drivers/media/video/cx23885/Makefile        |    2 +-
 drivers/media/video/cx23885/cx23885-alsa.c  |  535 +++++++++++++++++++++++++++
 drivers/media/video/cx23885/cx23885-cards.c |   53 +++
 drivers/media/video/cx23885/cx23885-core.c  |   99 ++++-
 drivers/media/video/cx23885/cx23885-i2c.c   |    1 +
 drivers/media/video/cx23885/cx23885-reg.h   |    3 +
 drivers/media/video/cx23885/cx23885-vbi.c   |   72 +++-
 drivers/media/video/cx23885/cx23885-video.c |  373 ++++++++++++++++---
 drivers/media/video/cx23885/cx23885.h       |   56 +++
 drivers/media/video/cx25840/cx25840-audio.c |   10 +-
 drivers/media/video/cx25840/cx25840-core.c  |   19 +
 11 files changed, 1144 insertions(+), 79 deletions(-)
 create mode 100644 drivers/media/video/cx23885/cx23885-alsa.c
#1 lore raw
Quoted 3 lines

It's been a long time since cx23885-alsa pull was requested. To speed things up I created a git branch where I put the patches. are available in the git repository at:

...

Quoted 1 line

 git://linuxtv.org/liplianin/media_tree.git cx23885-alsa-clean-2

Thank you for working on this Igor.

I most certainly have some additional patches that will probably no longer apply cleanly. However, given that you've gone to the trouble of building a new tree, assuming we can get these merged, then I'll rebase and regenerate any patches I have to match the current cx23885 driver.

Signature · 3 lines
Steven Toth - Kernel Labs
http://www.kernellabs.com
+1.646.355.8490
#2 lore raw

В сообщении от 11 октября 2011 21:17:57 автор Steven Toth написал:

Quoted 8 lines
Quoted 4 lines

It's been a long time since cx23885-alsa pull was requested. To speed things up I created a git branch where I put the patches.

are available in the git repository at:

...

Quoted 1 line

git://linuxtv.org/liplianin/media_tree.git cx23885-alsa-clean-2

Quoted 7 lines

Thank you for working on this Igor.

I most certainly have some additional patches that will probably no longer apply cleanly. However, given that you've gone to the trouble of building a new tree, assuming we can get these merged, then I'll rebase and regenerate any patches I have to match the current cx23885 driver.

Thank you for the driver Steven.

Is current state of branch good for pulling?

Signature · 2 lines
Igor M. Liplianin
Microsoft Windows Free Zone - Linux used for all Computing Tasks
#3 lore raw
In reply to Igor M. Liplianin

Em 10-10-2011 11:52, Igor M. Liplianin escreveu:

Quoted 9 lines

Hi Mauro and Steven,

It's been a long time since cx23885-alsa pull was requested.
To speed things up I created a git branch where I put the patches.
Some patches merged, like introduce then correct checkpatch compliance
or convert spinlock to mutex and back to spinlock, insert printk then remove printk as well. Minor corrections from me was silently merged, for major I created additional patches.

Hope it helps.

This patchset breaks git bisect. I tried to change the order of the initial patches, but I couldn't an order of applying therm without breaking compilation.

The solution is to merge the first 6 patches into one.

Igor, Steven,

Could you both ack with this, please?

Thanks!
Mauro.

Quoted 1 line

From 9e44d63246a9c884900e56e2aa16fba94dee5f0c Mon Sep 17 00:00:00 2001

From: Mijhail Moreyra <[email protected]>
Date: Mon, 10 Oct 2011 11:09:52 -0300
Subject: [PATCH] [media] cx23885: Add ALSA support

[[email protected]: add it to the makefile and fix snd_card binding] [[email protected]: videobuf: Remove the videobuf_sg_dma_map/unmap functions]

drivers/media/video/cx23885/Makefile +1 -1
index 185cc01..f81f279 100644
@@ -2,7 +2,7 @@ cx23885-objs	:= cx23885-cards.o cx23885-video.o cx23885-vbi.o \
 		    cx23885-core.o cx23885-i2c.o cx23885-dvb.o cx23885-417.o \
 		    cx23885-ioctl.o cx23885-ir.o cx23885-av.o cx23885-input.o \
 		    cx23888-ir.o netup-init.o cimax2.o netup-eeprom.o \
-		    cx23885-f300.o
+		    cx23885-f300.o cx23885-alsa.o
 
 obj-$(CONFIG_VIDEO_CX23885) += cx23885.o
 obj-$(CONFIG_MEDIA_ALTERA_CI) += altera-ci.o
drivers/media/video/cx23885/cx23885-alsa.c new file +535 -0

535 lines not on this page · raw message

drivers/media/video/cx23885/cx23885-core.c +33 -15

138 lines not on this page · raw message

drivers/media/video/cx23885/cx23885.h +42 -0

60 lines not on this page · raw message

#4 lore raw
In reply to Igor M. Liplianin

Em 10-10-2011 11:52, Igor M. Liplianin escreveu:

Quoted 71 lines

Hi Mauro and Steven,

It's been a long time since cx23885-alsa pull was requested.
To speed things up I created a git branch where I put the patches.
Some patches merged, like introduce then correct checkpatch compliance
or convert spinlock to mutex and back to spinlock, insert printk then remove printk as well. Minor corrections from me was silently merged, for major I created additional patches.

Hope it helps.

The following changes since commit e30528854797f057aa6ffb6dc9f890e923c467fd:

[media] it913x-fe changes to power up and down of tuner (2011-10-08 08:03:27 -0300)

are available in the git repository at:
git://linuxtv.org/liplianin/media_tree.git cx23885-alsa-clean-2

Igor M. Liplianin (2):
cx23885: videobuf: Remove the videobuf_sg_dma_map/unmap functions
cx25840-audio: fix missing state declaration

Mijhail Moreyra (6):
cx23885: merge mijhail's header changes for alsa
cx23885: ALSA support
cx23885: core changes requireed for ALSA
cx23885: add definitions for HVR1500 to support audio
cx23885: correct the contrast, saturation and hue controls
cx23885: hooks the alsa changes into the video subsystem

patches/0009-cx23885-hooks-the-alsa-changes-into-the-video-subsys.patch From ee1eadb6f02f9c1b6d14e049874ad883d752ea7e Mon Sep 17 00:00:00 2001
From: Mijhail Moreyra <[email protected]>
Date: Mon, 10 Oct 2011 17:09:53 +0300
Subject: cx23885: hooks the alsa changes into the video subsystem
Cc: Linux Media Mailing List <[email protected]>

Priority: normal

---
 drivers/media/video/cx23885/cx23885-video.c |   23 ++++++++++++++++-------
 1 files changed, 16 insertions(+), 7 deletions(-)
drivers/media/video/cx23885/cx23885-video.c +5 -2
index 0c463f9..acd6e0c 100644
@@ -37,6 +37,8 @@
 #include "cx23885-ioctl.h"
 #include "tuner-xc2028.h"
 
+#include <media/cx25840.h>
+
 MODULE_DESCRIPTION("v4l2 driver module for cx23885 based TV cards");
 MODULE_AUTHOR("Steven Toth <[email protected]>");
 MODULE_LICENSE("GPL");
@@ -884,8 +886,9 @@ static int cx23885_get_control(struct cx23885_dev *dev,
 static int cx23885_set_control(struct cx23885_dev *dev,
 	struct v4l2_control *ctl)
 {
-	dprintk(1, "%s() calling cx25840(VIDIOC_S_CTRL)"
-		" (disabled - no action)\n", __func__);
+	dprintk(1, "%s() calling cx25840(VIDIOC_S_CTRL)\n", __func__);
+	call_all(dev, core, s_ctrl, ctl);
+
 	return 0;
 }
 

drivers/media/video/cx23885/cx23885-video.c static int vidioc_g_tuner(struct file *file, void *priv, · line 1226

Quoted 4 lines
drivers/media/video/cx23885/cx23885-video.c +1 -0
@@ -1220,11 +1223,9 @@ static int vidioc_g_tuner(struct file *file, void *priv,
 	if (0 != t->index)
 		return -EINVAL;
 
+	memset(t, 0, sizeof(*t));

No. The V4L2 core already cleans the parameters that are meant to be returned to userspace.

In particular, this will break part of the tuner logic, as now the V4L2 core fills t->type, and tuner-core relies on that.

If the rest of the patches are ok, I'll add a patch on the series removing this.

Regards,
Mauro

#5 lore raw
In reply to Igor M. Liplianin

Em 10-10-2011 11:52, Igor M. Liplianin escreveu:

Quoted 48 lines

Hi Mauro and Steven,

It's been a long time since cx23885-alsa pull was requested.
To speed things up I created a git branch where I put the patches.
Some patches merged, like introduce then correct checkpatch compliance
or convert spinlock to mutex and back to spinlock, insert printk then remove printk as well. Minor corrections from me was silently merged, for major I created additional patches.

Hope it helps.

Steven Toth (31):
cx23885: mute the audio during channel change

From 3241f9a7ba2505c48eaa608df7f2bd2a3e79eea0 Mon Sep 17 00:00:00 2001
From: Steven Toth <[email protected]>
Date: Mon, 10 Oct 2011 11:09:53 -0300
Subject: [PATCH] [media] cx23885: mute the audio during channel change

drivers/media/video/cx23885/cx23885-video.c +8 -0
index 58855b2..7e5342b 100644
@@ -1264,18 +1264,30 @@ static int vidioc_g_frequency(struct file *file, void *priv,
 
 static int cx23885_set_freq(struct cx23885_dev *dev, struct v4l2_frequency *f)
 {
+	struct v4l2_control ctrl;
+
 	if (unlikely(UNSET == dev->tuner_type))
 		return -EINVAL;
 	if (unlikely(f->tuner != 0))
 		return -EINVAL;
 
+
 	mutex_lock(&dev->lock);
 	dev->freq = f->frequency;
 
+	/* I need to mute audio here */
+	ctrl.id = V4L2_CID_AUDIO_MUTE;
+	ctrl.value = 1;
+	cx23885_set_control(dev, &ctrl);
+
 	call_all(dev, tuner, s_frequency, f);
 

drivers/media/video/cx23885/cx23885-video.c static int vidioc_g_frequency(struct file *file, void *priv, · line 1293

Quoted 10 lines
drivers/media/video/cx23885/cx23885-video.c +5 -1
 	/* When changing channels it is required to reset TVAUDIO */
-	msleep(10);
+	msleep(100);
+
+	/* I need to unmute audio here */
+	ctrl.value = 0;
+	cx23885_set_control(dev, &ctrl);
 
 	mutex_unlock(&dev->lock);
 

This patch has a weird side effect: If the user has muted the audio, changing the channel will unmute. The right thing to do here is to do a g_ctrl to check if the device is muted. If it is muted, don't touch at the mute.

I'll drop this one from my patch series.

Regards,
Mauro

#6 lore raw
In reply to Igor M. Liplianin

Em 10-10-2011 11:52, Igor M. Liplianin escreveu:

Quoted 8 lines

Hi Mauro and Steven,

It's been a long time since cx23885-alsa pull was requested.
To speed things up I created a git branch where I put the patches.
Some patches merged, like introduce then correct checkpatch compliance
or convert spinlock to mutex and back to spinlock, insert printk then remove printk as well. Minor corrections from me was silently merged, for major I created additional patches.

Quoted 8 lines

Hope it helps.

The following changes since commit e30528854797f057aa6ffb6dc9f890e923c467fd:

[media] it913x-fe changes to power up and down of tuner (2011-10-08 08:03:27 -0300)

are available in the git repository at:
git://linuxtv.org/liplianin/media_tree.git cx23885-alsa-clean-2

Ok, all the other patches look sane. I just had to do another patchset reorder, moving patch 39 to happen before patch 29, and folding one of the Igor's fixes with a patch sent by Steven.

I'm assuming that all of you are ok with that. So, I'm pushing the changeset into my tree.

Quoted 63 lines

Igor M. Liplianin (2):
cx23885: videobuf: Remove the videobuf_sg_dma_map/unmap functions
cx25840-audio: fix missing state declaration

Mijhail Moreyra (6):
cx23885: merge mijhail's header changes for alsa
cx23885: ALSA support
cx23885: core changes requireed for ALSA
cx23885: add definitions for HVR1500 to support audio
cx23885: correct the contrast, saturation and hue controls
cx23885: hooks the alsa changes into the video subsystem

Steven Toth (31):
cx23885: prepare the cx23885 makefile for alsa support
cx23885: convert from snd_card_new() to snd_card_create()
cx23885: convert call clients into subdevices
cx23885: minor function renaming to ensure uniformity
cx23885: setup the dma mapping for raw audio support
cx23885: mute the audio during channel change
cx23885: add two additional defines to simplify VBI register bitmap handling
cx23885: initial support for VBI with the cx23885
cx23885: initialize VBI support in the core, add IRQ support, register vbi device
cx23885: minor printk cleanups and device registration
cx25840: enable raw cc processing only for the cx23885 hardware
cx23885: vbi line window adjustments
cx23885: add vbi buffer formatting, window changes and video core changes
cx23885: Ensure the VBI pixel format is established correctly.
cx23885: ensure video is streaming before allowing vbi to stream
cx23885: remove channel dump diagnostics when a vbi buffer times out.
cx23885: Ensure VBI buffers timeout quickly - bugfix for vbi hangs during streaming.
cx23885: Name an internal i2c part and declare a bitfield by name
cx25840: Enable support for non-tuner LR1/LR2 audio inputs
cx23885: Enable audio line in support from the back panel
cx25840: Ensure AUDIO6 and AUDIO7 trigger line-in baseband use.
cx23885: Initial support for the MPX-885 mini-card
cx23885: fixes related to maximum number of inputs and range checking
cx23885: add generic functions for dealing with audio input selection
cx23885: hook the audio selection functions into the main driver
cx23885: v4l2 api compliance, set the audioset field correctly
cx23885: Removed a spurious function cx23885_set_scale().
cx23885: Avoid stopping the risc engine during buffer timeout.
cx23885: Avoid incorrect error handling and reporting
cx23885: Stop the risc video fifo before reconfiguring it.
cx23885: Allow the audio mux config to be specified on a per input basis.

 drivers/media/video/cx23885/Makefile        |    2 +-
 drivers/media/video/cx23885/cx23885-alsa.c  |  535 +++++++++++++++++++++++++++
 drivers/media/video/cx23885/cx23885-cards.c |   53 +++
 drivers/media/video/cx23885/cx23885-core.c  |   99 ++++-
 drivers/media/video/cx23885/cx23885-i2c.c   |    1 +
 drivers/media/video/cx23885/cx23885-reg.h   |    3 +
 drivers/media/video/cx23885/cx23885-vbi.c   |   72 +++-
 drivers/media/video/cx23885/cx23885-video.c |  373 ++++++++++++++++---
 drivers/media/video/cx23885/cx23885.h       |   56 +++
 drivers/media/video/cx25840/cx25840-audio.c |   10 +-
 drivers/media/video/cx25840/cx25840-core.c  |   19 +
 11 files changed, 1144 insertions(+), 79 deletions(-)
 create mode 100644 drivers/media/video/cx23885/cx23885-alsa.c

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#7 lore raw

В сообщении от 14 октября 2011 23:25:07 автор Mauro Carvalho Chehab написал:

Quoted 13 lines

Em 10-10-2011 11:52, Igor M. Liplianin escreveu:

Quoted 12 lines

Hi Mauro and Steven,

It's been a long time since cx23885-alsa pull was requested. To speed things up I created a git branch where I put the patches. Some patches merged, like introduce then correct checkpatch compliance or convert spinlock to mutex and back to spinlock, insert printk then remove printk as well. Minor corrections from me was silently merged, for major I created additional patches.

Hope it helps.

The following changes since commit

e30528854797f057aa6ffb6dc9f890e923c467fd:

Quoted 6 lines
Quoted 5 lines

[media] it913x-fe changes to power up and down of tuner (2011-10-08 08:03:27 -0300)

are available in the git repository at:
git://linuxtv.org/liplianin/media_tree.git cx23885-alsa-clean-2

Quoted 6 lines

Ok, all the other patches look sane. I just had to do another patchset reorder, moving patch 39 to happen before patch 29, and folding one of the Igor's fixes with a patch sent by Steven.

I'm assuming that all of you are ok with that. So, I'm pushing the changeset into my tree.

Great. Thank you Mauro.

Quoted 74 lines
Quoted 65 lines

Igor M. Liplianin (2):
cx23885: videobuf: Remove the videobuf_sg_dma_map/unmap functions
cx25840-audio: fix missing state declaration

Mijhail Moreyra (6):
cx23885: merge mijhail's header changes for alsa
cx23885: ALSA support
cx23885: core changes requireed for ALSA
cx23885: add definitions for HVR1500 to support audio
cx23885: correct the contrast, saturation and hue controls
cx23885: hooks the alsa changes into the video subsystem

Steven Toth (31):
cx23885: prepare the cx23885 makefile for alsa support
cx23885: convert from snd_card_new() to snd_card_create()
cx23885: convert call clients into subdevices
cx23885: minor function renaming to ensure uniformity
cx23885: setup the dma mapping for raw audio support
cx23885: mute the audio during channel change
cx23885: add two additional defines to simplify VBI register bitmap handling cx23885: initial support for VBI with the cx23885
cx23885: initialize VBI support in the core, add IRQ support, register vbi device cx23885: minor printk cleanups and device registration
cx25840: enable raw cc processing only for the cx23885 hardware
cx23885: vbi line window adjustments
cx23885: add vbi buffer formatting, window changes and video core changes cx23885: Ensure the VBI pixel format is established correctly. cx23885: ensure video is streaming before allowing vbi to stream cx23885: remove channel dump diagnostics when a vbi buffer times out. cx23885: Ensure VBI buffers timeout quickly - bugfix for vbi hangs during streaming. cx23885: Name an internal i2c part and declare a bitfield by name cx25840: Enable support for non-tuner LR1/LR2 audio inputs cx23885: Enable audio line in support from the back panel
cx25840: Ensure AUDIO6 and AUDIO7 trigger line-in baseband use.
cx23885: Initial support for the MPX-885 mini-card
cx23885: fixes related to maximum number of inputs and range checking cx23885: add generic functions for dealing with audio input selection cx23885: hook the audio selection functions into the main driver cx23885: v4l2 api compliance, set the audioset field correctly cx23885: Removed a spurious function cx23885_set_scale().
cx23885: Avoid stopping the risc engine during buffer timeout.
cx23885: Avoid incorrect error handling and reporting
cx23885: Stop the risc video fifo before reconfiguring it.
cx23885: Allow the audio mux config to be specified on a per input basis.

 drivers/media/video/cx23885/Makefile        |    2 +-
 drivers/media/video/cx23885/cx23885-alsa.c  |  535
 +++++++++++++++++++++++++++ drivers/media/video/cx23885/cx23885-cards.c
 |   53 +++
 drivers/media/video/cx23885/cx23885-core.c  |   99 ++++-
 drivers/media/video/cx23885/cx23885-i2c.c   |    1 +
 drivers/media/video/cx23885/cx23885-reg.h   |    3 +
 drivers/media/video/cx23885/cx23885-vbi.c   |   72 +++-
 drivers/media/video/cx23885/cx23885-video.c |  373 ++++++++++++++++---
 drivers/media/video/cx23885/cx23885.h       |   56 +++
 drivers/media/video/cx25840/cx25840-audio.c |   10 +-
 drivers/media/video/cx25840/cx25840-core.c  |   19 +
 11 files changed, 1144 insertions(+), 79 deletions(-)
 create mode 100644 drivers/media/video/cx23885/cx23885-alsa.c
Quoted 4 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 2 lines
Igor M. Liplianin
Microsoft Windows Free Zone - Linux used for all Computing Tasks
#8 lore raw
In reply to Igor M. Liplianin

Hi

Quoted 74 lines · Igor M. Liplianin

Hi Mauro and Steven,

It's been a long time since cx23885-alsa pull was requested.
To speed things up I created a git branch where I put the patches.
Some patches merged, like introduce then correct checkpatch compliance
or convert spinlock to mutex and back to spinlock, insert printk then remove printk as well. Minor corrections from me was silently merged, for major I created additional patches.

Hope it helps.

The following changes since commit e30528854797f057aa6ffb6dc9f890e923c467fd:

[media] it913x-fe changes to power up and down of tuner (2011-10-08 08:03:27 -0300)

are available in the git repository at:

   git://linuxtv.org/liplianin/media_tree.git cx23885-alsa-clean-2

Igor M. Liplianin (2):
cx23885: videobuf: Remove the videobuf_sg_dma_map/unmap functions
cx25840-audio: fix missing state declaration

Mijhail Moreyra (6):
cx23885: merge mijhail's header changes for alsa
cx23885: ALSA support
cx23885: core changes requireed for ALSA
cx23885: add definitions for HVR1500 to support audio
cx23885: correct the contrast, saturation and hue controls
cx23885: hooks the alsa changes into the video subsystem

Steven Toth (31):
cx23885: prepare the cx23885 makefile for alsa support
cx23885: convert from snd_card_new() to snd_card_create()
cx23885: convert call clients into subdevices
cx23885: minor function renaming to ensure uniformity
cx23885: setup the dma mapping for raw audio support
cx23885: mute the audio during channel change
cx23885: add two additional defines to simplify VBI register bitmap handling
cx23885: initial support for VBI with the cx23885
cx23885: initialize VBI support in the core, add IRQ support, register vbi device
cx23885: minor printk cleanups and device registration
cx25840: enable raw cc processing only for the cx23885 hardware
cx23885: vbi line window adjustments
cx23885: add vbi buffer formatting, window changes and video core changes
cx23885: Ensure the VBI pixel format is established correctly.
cx23885: ensure video is streaming before allowing vbi to stream
cx23885: remove channel dump diagnostics when a vbi buffer times out.
cx23885: Ensure VBI buffers timeout quickly - bugfix for vbi hangs during streaming.
cx23885: Name an internal i2c part and declare a bitfield by name
cx25840: Enable support for non-tuner LR1/LR2 audio inputs
cx23885: Enable audio line in support from the back panel
cx25840: Ensure AUDIO6 and AUDIO7 trigger line-in baseband use.
cx23885: Initial support for the MPX-885 mini-card
cx23885: fixes related to maximum number of inputs and range checking
cx23885: add generic functions for dealing with audio input selection
cx23885: hook the audio selection functions into the main driver
cx23885: v4l2 api compliance, set the audioset field correctly
cx23885: Removed a spurious function cx23885_set_scale().
cx23885: Avoid stopping the risc engine during buffer timeout.
cx23885: Avoid incorrect error handling and reporting
cx23885: Stop the risc video fifo before reconfiguring it.
cx23885: Allow the audio mux config to be specified on a per input basis.

  drivers/media/video/cx23885/Makefile        |    2 +-
  drivers/media/video/cx23885/cx23885-alsa.c  |  535 +++++++++++++++++++++++++++
  drivers/media/video/cx23885/cx23885-cards.c |   53 +++
  drivers/media/video/cx23885/cx23885-core.c  |   99 ++++-
  drivers/media/video/cx23885/cx23885-i2c.c   |    1 +
  drivers/media/video/cx23885/cx23885-reg.h   |    3 +
  drivers/media/video/cx23885/cx23885-vbi.c   |   72 +++-
  drivers/media/video/cx23885/cx23885-video.c |  373 ++++++++++++++++---
  drivers/media/video/cx23885/cx23885.h       |   56 +++
  drivers/media/video/cx25840/cx25840-audio.c |   10 +-
  drivers/media/video/cx25840/cx25840-core.c  |   19 +
  11 files changed, 1144 insertions(+), 79 deletions(-)
Quoted 5 lines

create mode 100644 drivers/media/video/cx23885/cx23885-alsa.c
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

When compile, I get this error:

dhcppc1:/usr/src/linux # make SUBDIRS=drivers/media/video/cx23885 modules -j2
Building modules, stage 2.
MODPOST 2 modules
WARNING: "cx23885_risc_databuffer" [drivers/media/video/cx23885/cx23885.ko] undefined!

dhcppc1:/usr/src/linux # modprobe cx23885 debug=3 v4l_debug=3 i2c_scan=3
FATAL: Error inserting cx23885 (/lib/modules/3.0.6-2-desktop/kernel/drivers/media/video/cx23885/cx23885.ko): Unknown symbol in module, or unknown parameter (see dmesg)

dmesg:
....

[13447.629867] cx23885: Unknown symbol cx23885_risc_databuffer (err 0)

I use kernel 3.0.6 and OpenSuse 11.4

Thank

Alfredo

Signature · 2 lines
Dona tu voz
http://www.voxforge.org/es
#9 lore raw

Hi

Quoted 15 lines · Alfredo Jesús Delaiti

Hi

Quoted 2 lines · Igor M. Liplianin

Hi Mauro and Steven,

When compile, I get this error:

dhcppc1:/usr/src/linux # make SUBDIRS=drivers/media/video/cx23885 modules -j2
Building modules, stage 2.
MODPOST 2 modules
WARNING: "cx23885_risc_databuffer" [drivers/media/video/cx23885/cx23885.ko] undefined!

dhcppc1:/usr/src/linux # modprobe cx23885 debug=3 v4l_debug=3 i2c_scan=3
FATAL: Error inserting cx23885 (/lib/modules/3.0.6-2-desktop/kernel/drivers/media/video/cx23885/cx23885.ko): Unknown symbol in module, or unknown parameter (see dmesg)

Quoted 8 lines

dmesg:
....

[13447.629867] cx23885: Unknown symbol cx23885_risc_databuffer (err 0)

I use kernel 3.0.6 and OpenSuse 11.4

I found the error. There are more spaces in the definition of cx23885_risc_databuffer.
Please correct them. They are in: http://git.linuxtv.org/liplianin/media_tree.git/tree/159b64f3415b9882e3391492255a60133b5fd080:/drivers/media/video/cx23885/

Thank

Alfredo

Signature · 2 lines
Dona tu voz
http://www.voxforge.org/es