From: Takashi Iwai <tiwai@suse.de>
To: Daniel J Blueman <daniel@quora.org>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>, alsa-devel@alsa-project.org
Subject: Re: 3.8-rc1 patch_cirrus 4.0 regression...
Date: Tue, 05 Feb 2013 18:34:41 +0100 [thread overview]
Message-ID: <s5hhalqaclq.wl%tiwai@suse.de> (raw)
In-Reply-To: <s5hsj5aag7z.wl%tiwai@suse.de>
At Tue, 05 Feb 2013 17:16:32 +0100,
Takashi Iwai wrote:
>
> At Wed, 6 Feb 2013 00:10:30 +0800,
> Daniel J Blueman wrote:
> >
> > Hi Takashi,
> >
> > The v3.8-rc kernels have regressed from v3.7 with the quad-speaker
> > arrangement on my Macbook Pro 10,1 - only the higher-frequency
> > speakers work despite the front and rear channels being exposed in the
> > mixer.
>
> Interesting. So you have a machine with 4.0 built-in speaker instead
> of 2.1? Then we need to add a device-specific flag for it. Currently
> the driver assumes 2.1 system blindly because majority of machines
> have that.
>
> FWIW, the codec parser code has been totally rewritten for 3.9, so any
> patch to 3.8 won't be applied to 3.9 (and vice versa)...
>
> Could you give alsa-info.sh output on 3.8 kernel? Then I'll try to
> cook it for 3.9 (and maybe backport to 3.8).
The patch below is a quick fix for 3.8-rc6.
Could you check whether this works alone?
Takashi
---
diff --git a/sound/pci/hda/patch_cirrus.c b/sound/pci/hda/patch_cirrus.c
index a2537b2..d74e06c 100644
--- a/sound/pci/hda/patch_cirrus.c
+++ b/sound/pci/hda/patch_cirrus.c
@@ -448,7 +448,8 @@ static int parse_output(struct hda_codec *codec)
spec->multiout.max_channels = i * 2;
if (cfg->line_out_type == AUTO_PIN_SPEAKER_OUT && i == 2)
- spec->speaker_2_1 = 1; /* assume 2.1 speakers */
+ if (spec->gen.fixup_id != CS420X_MBP101)
+ spec->speaker_2_1 = 1; /* assume 2.1 speakers */
/* add HP and speakers */
extra_nids = 0;
prev parent reply other threads:[~2013-02-05 17:34 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-05 16:10 3.8-rc1 patch_cirrus 4.0 regression Daniel J Blueman
2013-02-05 16:16 ` Takashi Iwai
2013-02-05 16:29 ` Daniel J Blueman
2013-02-05 16:34 ` Takashi Iwai
2013-02-05 17:40 ` Takashi Iwai
2013-02-06 0:47 ` Daniel J Blueman
2013-02-06 7:05 ` Takashi Iwai
2013-02-06 12:10 ` David Henningsson
2013-02-05 17:34 ` Takashi Iwai [this message]
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=s5hhalqaclq.wl%tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=daniel@quora.org \
--cc=linux-kernel@vger.kernel.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