Skip to content

Commit

Permalink
[ALSA] hda-codec - Don't return error at initialization of modem codec
Browse files Browse the repository at this point in the history
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@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
  • Loading branch information
Takashi Iwai authored and Jaroslav Kysela committed Dec 20, 2006
1 parent bd2033f commit 83af036
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sound/pci/hda/patch_si3054.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,8 @@ static int si3054_init(struct hda_codec *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);
Expand Down

0 comments on commit 83af036

Please sign in to comment.