Re: [patch 00/21] 2.6.19-stable review

From: Chuck Ebbert
Date: Wed Feb 21 2007 - 11:42:27 EST


Greg KH wrote:
> This is the start of the stable review cycle for the 2.6.19.5 release.
>
> This will probably be the last release of the 2.6.19-stable series, so
> if there are patches that you feel should be applied to that tree,
> please let me know.

The attached patch is in 2.6.20 and fixes problems with
no sound from certain Intel HDA adapters.
# HG changeset patch
# User Takashi Iwai <tiwai@xxxxxxx>
# Date 1166601341 -3600
# Node ID d53318ba5eb26fbefb63d85c402cb368096436f3
# Parent e20d24388f86121d3ac6f58560e3b7acd686fd39
[ALSA] hda-codec - Don't return error at initialization of modem codec

Some modem codec seem to fail in the initialization, and this
stopped loading of the whole module although the audio is OK.
Since it's usually a non-fatal issue, the driver tries to proceed
to initialize now.

Signed-off-by: Takashi Iwai <tiwai@xxxxxxx>
Signed-off-by: Jaroslav Kysela <perex@xxxxxxx>

committer: Jaroslav Kysela <perex@xxxxxxxxxxxxxxx> 1166601341 +0100

--- a/sound/pci/hda/patch_si3054.c Wed Dec 20 08:55:39 2006 +0100
+++ b/sound/pci/hda/patch_si3054.c Wed Dec 20 08:55:41 2006 +0100
@@ -243,7 +243,8 @@ static int si3054_init(struct hda_codec

if((val&SI3054_MEI_READY) != SI3054_MEI_READY) {
snd_printk(KERN_ERR "si3054: cannot initialize. EXT MID = %04x\n", val);
- return -EACCES;
+ /* let's pray that this is no fatal error */
+ /* return -EACCES; */
}

SET_REG(codec, SI3054_GPIO_POLARITY, 0xffff);