From: lamikr <lamikr@cc.jyu.fi>
To: OMAP-Linux <linux-omap-open-source@linux.omap.com>
Subject: [PATCH 4/5] tsc2101 mixer fixes.
Date: Fri, 18 Aug 2006 04:16:30 +0300 [thread overview]
Message-ID: <44E514EE.7000108@cc.jyu.fi> (raw)
[-- Attachment #1: Type: text/plain, Size: 186 bytes --]
tsc2101 mixer fixes. Fix target selection control name and set index to
0 for all controls as the driver uses always same tsc2101 codec.
Signed-off-by: Mika Laitio <lamikr@cc.jyu.fi>
[-- Attachment #2: 0004-tsc2101-mixer-fixes.patch --]
[-- Type: text/x-patch, Size: 2263 bytes --]
>From 80a5c954be4b3dc399e98cc35490b892e5f7ad8a Mon Sep 17 00:00:00 2001
From: Mika Laitio <lamikr@cc.jyu.fi>
Date: Fri, 18 Aug 2006 03:04:05 +0300
Subject: [PATCH 4/5] tsc2101 mixer fixes.
tsc2101 mixer fixes. Fix target selection control name and set index to 0 for all controls as the driver uses always same tsc2101 codec.
Signed-off-by: Mika Laitio <lamikr@cc.jyu.fi>
---
sound/arm/omap/omap-alsa-tsc2101-mixer.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/sound/arm/omap/omap-alsa-tsc2101-mixer.c b/sound/arm/omap/omap-alsa-tsc2101-mixer.c
index 0fc31ef..1c7627f 100644
--- a/sound/arm/omap/omap-alsa-tsc2101-mixer.c
+++ b/sound/arm/omap/omap-alsa-tsc2101-mixer.c
@@ -728,7 +728,7 @@ static int __handset_playback_switch_put
static snd_kcontrol_new_t tsc2101_control[] __devinitdata = {
{
- .name = "Playback Playback Route",
+ .name = "Target Playback Route",
.iface = SNDRV_CTL_ELEM_IFACE_MIXER,
.index = 0,
.access= SNDRV_CTL_ELEM_ACCESS_READWRITE,
@@ -754,7 +754,7 @@ static snd_kcontrol_new_t tsc2101_contro
}, {
.name = "Headset Playback Volume",
.iface = SNDRV_CTL_ELEM_IFACE_MIXER,
- .index = 1,
+ .index = 0,
.access= SNDRV_CTL_ELEM_ACCESS_READWRITE,
.info = __headset_playback_volume_info,
.get = __headset_playback_volume_get,
@@ -762,7 +762,7 @@ static snd_kcontrol_new_t tsc2101_contro
}, {
.name = "Headset Playback Switch",
.iface = SNDRV_CTL_ELEM_IFACE_MIXER,
- .index = 1,
+ .index = 0,
.access= SNDRV_CTL_ELEM_ACCESS_READWRITE,
.info = __headset_playback_switch_info,
.get = __headset_playback_switch_get,
@@ -770,7 +770,7 @@ static snd_kcontrol_new_t tsc2101_contro
}, {
.name = "Handset Playback Volume",
.iface = SNDRV_CTL_ELEM_IFACE_MIXER,
- .index = 2,
+ .index = 0,
.access= SNDRV_CTL_ELEM_ACCESS_READWRITE,
.info = __handset_playback_volume_info,
.get = __handset_playback_volume_get,
@@ -778,7 +778,7 @@ static snd_kcontrol_new_t tsc2101_contro
}, {
.name = "Handset Playback Switch",
.iface = SNDRV_CTL_ELEM_IFACE_MIXER,
- .index = 2,
+ .index = 0,
.access= SNDRV_CTL_ELEM_ACCESS_READWRITE,
.info = __handset_playback_switch_info,
.get = __handset_playback_switch_get,
--
1.4.2
[-- Attachment #3: Type: text/plain, Size: 0 bytes --]
reply other threads:[~2006-08-18 1:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=44E514EE.7000108@cc.jyu.fi \
--to=lamikr@cc.jyu.fi \
--cc=linux-omap-open-source@linux.omap.com \
/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.