# HG changeset patch # User Takashi Iwai # 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 Signed-off-by: Jaroslav Kysela committer: Jaroslav Kysela 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);