Skip to content
Commit 3c6aae44 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: hda - Check codec errors in snd_hda_get_connections()



The codec read errors in snd_hda_get_connections() are ignored so far,
and it causes a problem like the bug in the commit
    9d30937a
    ALSA: hda_intel: more strict alc880_parse_auto_config dig_nid checking

Better to check errors in the function and returns a proper error code
rather than passing bogus NID values.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 31909b83
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment