Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Ubuntu Kernel Team (http://www.linux-archive.org/ubuntu-kernel-team/)
-   -   ALSA: hda - fix indices on boost volume on Conexant (http://www.linux-archive.org/ubuntu-kernel-team/709357-alsa-hda-fix-indices-boost-volume-conexant.html)

10-03-2012 03:22 PM

ALSA: hda - fix indices on boost volume on Conexant
 
From: Joseph Salisbury <joseph.salisbury@canonical.com>

BugLink: http://bugs.launchpad.net/bugs/1059523


== Quantal Justification ==
This patch fixes a regression in 3.5.0-16. The regression causes the soundcard on an Acer Aspire One 722 to stop working.


== Fix ==
Author: David Henningsson <david.henningsson@canonical.com>
Date: Tue Oct 2 09:56:36 2012 +0200

ALSA: hda - fix indices on boost volume on Conexant


== Impact ==
Without this patch, sound will not work on some hardware.

== Test Case ==

A test kernel was built with this patch and tested by the original bug reporter.


David Henningsson (1):
ALSA: hda - fix indices on boost volume on Conexant

sound/pci/hda/patch_conexant.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--
1.7.10.4


--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team

10-03-2012 03:22 PM

ALSA: hda - fix indices on boost volume on Conexant
 
From: David Henningsson <david.henningsson@canonical.com>

After the recent patch "ALSA: hda - use both input paths on Conexant
auto parser" suddenly we can have more than one "Mic Boost", this
happened on Acer Aspire One 722. Therefore we must add the possibility
to put an index on this "Mic Boost" just as we do for the other
"Mic Boost" earlier in the same function.

BugLink: https://bugs.launchpad.net/bugs/1059523
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Joseph Salisbury <joseph.salisbury@canonical.com>
---
sound/pci/hda/patch_conexant.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c
index 0c127cf..0ed1ec2 100644
--- a/sound/pci/hda/patch_conexant.c
+++ b/sound/pci/hda/patch_conexant.c
@@ -4279,7 +4279,7 @@ static int cx_auto_add_boost_volume(struct hda_codec *codec, int idx,

if (get_wcaps(codec, mux) & AC_WCAP_OUT_AMP) {
spec->imux_info[idx].boost = mux;
- return cx_auto_add_volume(codec, label, " Boost", 0,
+ return cx_auto_add_volume(codec, label, " Boost", cidx,
mux, HDA_OUTPUT);
}
return 0;
--
1.7.10.4


--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team


All times are GMT. The time now is 11:31 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.