From: Wu Fengguang <wfg@linux.intel.com>
To: patch@alsa-project.org
Cc: alsa-devel@alsa-project.org
Subject: [PATCH] snd-core: enlarge snd_card.components for up to 4 codecs
Date: Tue, 7 Oct 2008 14:56:06 +0800 [thread overview]
Message-ID: <1223362567.716898.9499@de> (raw)
Enlarge snd_card.components[80] to 128 bytes, with space for 4 codecs.
The previous size 80 cannot support HP 2230s which has 3 codecs.
Signed-off-by: Wu Fengguang <wfg@linux.intel.com>
---
diff --git a/include/sound/asound.h b/include/sound/asound.h
index ca2f358..b3801b0 100644
--- a/include/sound/asound.h
+++ b/include/sound/asound.h
@@ -708,7 +708,7 @@ struct snd_ctl_card_info {
unsigned char longname[80]; /* name + info text about soundcard */
unsigned char reserved_[16]; /* reserved for future (was ID of mixer) */
unsigned char mixername[80]; /* visual mixer identification */
- unsigned char components[80]; /* card components / fine identification, delimited with one space (AC97 etc..) */
+ unsigned char components[128]; /* card components / fine identification, delimited with one space (AC97 etc..) */
unsigned char reserved[48]; /* reserved for future */
};
diff --git a/include/sound/core.h b/include/sound/core.h
index f52ab6f..dcbc424 100644
--- a/include/sound/core.h
+++ b/include/sound/core.h
@@ -116,7 +116,7 @@ struct snd_card {
char shortname[32]; /* short name of this soundcard */
char longname[80]; /* name of this soundcard */
char mixername[80]; /* mixer name */
- char components[80]; /* card components delimited with
+ char components[128]; /* card components delimited with
space */
struct module *module; /* top-level module */
next reply other threads:[~2008-10-07 6:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-07 6:56 Wu Fengguang [this message]
2008-10-07 8:10 ` [PATCH] snd-core: enlarge snd_card.components for up to 4 codecs Takashi Iwai
2008-10-07 8:34 ` Wu Fengguang
2008-10-07 9:00 ` Takashi Iwai
2008-10-07 9:06 ` Jaroslav Kysela
2008-10-07 9:42 ` Takashi Iwai
2008-10-07 9:11 ` Wu Fengguang
2008-10-07 9:48 ` Takashi Iwai
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=1223362567.716898.9499@de \
--to=wfg@linux.intel.com \
--cc=alsa-devel@alsa-project.org \
--cc=patch@alsa-project.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.