All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nicolas GRAZIANO <nicolas.graziano@wanadoo.fr>
Cc: alsa-devel@alsa-project.org
Subject: [PATCH] correct bug  [ALSA - driver 0001282] hda-intel driver, LFE mute does not work
Date: Thu, 28 Jul 2005 22:15:58 +0200	[thread overview]
Message-ID: <42E93CFE.5000503@wanadoo.fr> (raw)
In-Reply-To: <361fa1fe47eda3d154a5a24eff83d340@bugtrack.alsa-project.org>

This patch correct the bug of updating mute switch of LFE 

Signed-off-by: Nicolas Graziano <nicolas.graziano@wanadoo.fr>

cf bug : <https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1282> 


Index: pci/hda/hda_codec.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/hda/hda_codec.c,v
retrieving revision 1.20
diff -u -r1.20 hda_codec.c
--- pci/hda/hda_codec.c	13 Jun 2005 13:16:39 -0000	1.20
+++ pci/hda/hda_codec.c	28 Jul 2005 20:04:22 -0000
@@ -801,7 +801,8 @@
 						  0x80, *valp ? 0 : 0x80);
 	if (chs & 2)
 		change |= snd_hda_codec_amp_update(codec, nid, 1, dir, idx,
-						   0x80, valp[1] ? 0 : 0x80);
+						   0x80, valp[chs==3 ? 1 : 0 ] ? 0 : 0x80);
+	
 	return change;
 }





-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf

  reply	other threads:[~2005-07-28 20:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-26 21:59 [ALSA - driver 0001282]: LFE Volumne Control & Mute/Unmute not working bugtrack
2005-07-28 20:15 ` Nicolas GRAZIANO [this message]
2005-07-29 11:18   ` [PATCH] correct bug [ALSA - driver 0001282] hda-intel driver, LFE mute does not work 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=42E93CFE.5000503@wanadoo.fr \
    --to=nicolas.graziano@wanadoo.fr \
    --cc=alsa-devel@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.