From 5c5b00b1bf9e7e4a398f697cd65e85b0d4758b2e Mon Sep 17 00:00:00 2001 From: Daniel Chen 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 --- 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