From: Takashi Iwai <tiwai@suse.de>
To: "Ondrej Zary" <linux@rainbow-software.org>
Cc: <alsa-devel@alsa-project.org>,
"Kernel development list" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] snd-cs46xx: Fix Duplicate front for CS4294 and CS4298 codecs
Date: Fri, 30 Oct 2015 12:33:54 +0100 [thread overview]
Message-ID: <s5htwp8r3od.wl-tiwai@suse.de> (raw)
In-Reply-To: <1446146526-21579-1-git-send-email-linux@rainbow-software.org>
On Thu, 29 Oct 2015 20:22:06 +0100,
Ondrej Zary wrote:
>
> Currently, the Duplicate front control is enabled only for two specific
> revisions of CS4294.
>
> Enable it for all CS4294 and CS4298 codecs instead.
>
> This fixes rear output on my VC-4620N sound card
> (CS4620 + CS4298 rev.5).
>
> Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Applied, thanks.
Takashi
> ---
> sound/pci/cs46xx/cs46xx_lib.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/sound/pci/cs46xx/cs46xx_lib.c b/sound/pci/cs46xx/cs46xx_lib.c
> index 2a9f4a3..e62c841 100644
> --- a/sound/pci/cs46xx/cs46xx_lib.c
> +++ b/sound/pci/cs46xx/cs46xx_lib.c
> @@ -2528,7 +2528,7 @@ int snd_cs46xx_mixer(struct snd_cs46xx *chip, int spdif_device)
> #ifdef CONFIG_SND_CS46XX_NEW_DSP
> if (chip->nr_ac97_codecs == 1) {
> unsigned int id2 = chip->ac97[CS46XX_PRIMARY_CODEC_INDEX]->id & 0xffff;
> - if (id2 == 0x592b || id2 == 0x592d) {
> + if ((id2 & 0xfff0) == 0x5920) { /* CS4294 and CS4298 */
> err = snd_ctl_add(card, snd_ctl_new1(&snd_cs46xx_front_dup_ctl, chip));
> if (err < 0)
> return err;
> --
> Ondrej Zary
>
> .
>
prev parent reply other threads:[~2015-10-30 11:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-29 19:22 Ondrej Zary
2015-10-30 11:33 ` 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=s5htwp8r3od.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@rainbow-software.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®