From: mchehab@infradead.org
To: linux-kernel@vger.kernel.org
Cc: linux-dvb-maintainer@linuxtv.org,
Ricardo Cerqueira <v4l@cerqueira.org>,
Mauro Carvalho Chehab <mchehab@infradead.org>
Subject: [PATCH 06/13] Fixed saa7134 ALSA initialization with multiple cards
Date: Wed, 01 Mar 2006 09:05:38 -0300 [thread overview]
Message-ID: <20060301120538.PS40997900006@infradead.org> (raw)
In-Reply-To: <20060301120529.PS80375900000@infradead.org>
From: Ricardo Cerqueira <v4l@cerqueira.org>
Date: 1141009691 \-0300
When multiple cards were installed, only the first card would have
audio initialized, because only the first position in the array parameter
defaulted to "1"
To make things worse, the "enable" parameter wasn't enabled, so there
was no workaround.
Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
---
drivers/media/video/saa7134/saa7134-alsa.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/drivers/media/video/saa7134/saa7134-alsa.c b/drivers/media/video/saa7134/saa7134-alsa.c
index a7a6ab9..7df5e08 100644
--- a/drivers/media/video/saa7134/saa7134-alsa.c
+++ b/drivers/media/video/saa7134/saa7134-alsa.c
@@ -54,10 +54,12 @@ MODULE_PARM_DESC(debug,"enable debug mes
static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
-static int enable[SNDRV_CARDS] = {1, [1 ... (SNDRV_CARDS - 1)] = 0};
+static int enable[SNDRV_CARDS] = {1, [1 ... (SNDRV_CARDS - 1)] = 1};
module_param_array(index, int, NULL, 0444);
+module_param_array(enable, int, NULL, 0444);
MODULE_PARM_DESC(index, "Index value for SAA7134 capture interface(s).");
+MODULE_PARM_DESC(enable, "Enable (or not) the SAA7134 capture interface(s).");
#define dprintk(fmt, arg...) if (debug) \
printk(KERN_DEBUG "%s/alsa: " fmt, dev->name , ##arg)
next prev parent reply other threads:[~2006-03-01 15:01 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-01 12:05 [PATCH 00/13] V4L/DVB updates mchehab
2006-03-01 12:05 ` [PATCH 04/13] Upstream sync - make 2 structs static mchehab
2006-03-01 12:05 ` [PATCH 02/13] Drivers/media/dvb/frontends/mt312.c: cleanups mchehab
2006-03-01 12:05 ` [PATCH 01/13] Bt8xx documentation authors fix mchehab
2006-03-01 12:05 ` [PATCH 03/13] Make a struct static mchehab
2006-03-01 12:05 ` [PATCH 05/13] Pinnacle PCTV 40i: add filtered Composite2 input mchehab
2006-03-01 12:05 ` [PATCH 07/13] Cxusb: fix lgdt3303 naming mchehab
2006-03-01 12:05 ` mchehab [this message]
2006-03-01 12:05 ` [PATCH 09/13] Restore power on defaults of tda9887 after tda8290 probe mchehab
2006-03-01 12:05 ` [PATCH 10/13] Dvb: fix __init/__exit section references in av7110 driver mchehab
2006-03-01 12:05 ` [PATCH 08/13] Fix maximum for the saturation and contrast controls mchehab
2006-03-01 12:05 ` [PATCH 13/13] ELSA EX-VISION 500TV: fix incorrect PCI subsystem ID mchehab
2006-03-01 12:05 ` [PATCH 12/13] Fix stv0297 for qam128 on tt c1500 (saa7146) mchehab
2006-03-01 12:05 ` [PATCH 11/13] Removing personal email from DVB maintainers mchehab
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060301120538.PS40997900006@infradead.org \
--to=mchehab@infradead.org \
--cc=linux-dvb-maintainer@linuxtv.org \
--cc=linux-kernel@vger.kernel.org \
--cc=v4l@cerqueira.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®