[PATCH] UBUNTU: sound/pci/hda/: Forcibly set the maximum number of codecs (hda_intel.c)
crimsun at fungus.sh.nu
crimsun at fungus.sh.nu
Wed May 2 08:48:42 UTC 2007
From 5c5b00b1bf9e7e4a398f697cd65e85b0d4758b2e Mon Sep 17 00:00:00 2001
From: Daniel Chen <crimsun at Box.ncat.edu>
Date: Fri, 20 Apr 2007 09:48:45 -0400
Subject: [PATCH] UBUNTU: sound/pci/hda/: Forcibly set the maximum number of codecs (hda_intel.c)
Bug: 106843
Status: Not yet merged in upstream alsa-kernel hg
This commit for feisty-updates resolves an upstream ALSA issue
where the maximum number of HDA codecs was set one too low. This
is a sledgehammer approach (and has been reverted and re-reverted
numerous times, all without success), is known to work for all
HDA codecs, and resolves a regression from edgy.
Test-compiled successfully and verified working.
Signed-off-by: Daniel T Chen <crimsun at ubuntu.com>
---
sound/pci/hda/hda_intel.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index d8c9e90..7141c97 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -198,7 +198,7 @@ enum { SDI0, SDI1, SDI2, SDI3, SDO0, SDO1, SDO2, SDO3 };
#define RIRB_INT_MASK 0x05
/* STATESTS int mask: SD2,SD1,SD0 */
-#define AZX_MAX_CODECS 3
+#define AZX_MAX_CODECS 4
#define STATESTS_INT_MASK 0x07
/* SD_CTL bits */
--
1.4.4.2
--
Daniel T. Chen crimsun at ubuntu.com
GPG key: 0xC88ABDA3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20070502/222783dc/attachment.sig>
More information about the kernel-team
mailing list