diff options
author | Takashi Iwai <tiwai@suse.de> | 2006-10-10 14:01:01 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@server.perex.cz> | 2006-12-20 02:55:41 -0500 |
commit | 83af036d9878dc5b7ba72efa52f066a25639740e (patch) | |
tree | 811c81bcc6451c09c5c51477576e82f78ee9bf0a /sound/pci/hda/patch_si3054.c | |
parent | bd2033f27f346610b11b40a74ff7d1d023abcfd9 (diff) |
[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@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/pci/hda/patch_si3054.c')
-rw-r--r-- | sound/pci/hda/patch_si3054.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_si3054.c b/sound/pci/hda/patch_si3054.c index cc87dff1eb56..ed5e45e35963 100644 --- a/sound/pci/hda/patch_si3054.c +++ b/sound/pci/hda/patch_si3054.c | |||
@@ -243,7 +243,8 @@ static int si3054_init(struct hda_codec *codec) | |||
243 | 243 | ||
244 | if((val&SI3054_MEI_READY) != SI3054_MEI_READY) { | 244 | if((val&SI3054_MEI_READY) != SI3054_MEI_READY) { |
245 | snd_printk(KERN_ERR "si3054: cannot initialize. EXT MID = %04x\n", val); | 245 | snd_printk(KERN_ERR "si3054: cannot initialize. EXT MID = %04x\n", val); |
246 | return -EACCES; | 246 | /* let's pray that this is no fatal error */ |
247 | /* return -EACCES; */ | ||
247 | } | 248 | } |
248 | 249 | ||
249 | SET_REG(codec, SI3054_GPIO_POLARITY, 0xffff); | 250 | SET_REG(codec, SI3054_GPIO_POLARITY, 0xffff); |