ALSA: hda - Fix error check from snd_hda_get_conn_index() in patch_cirrus.c
authorTakashi Iwai <tiwai@suse.de>
Sat, 20 Aug 2011 07:19:59 +0000 (09:19 +0200)
committerTakashi Iwai <tiwai@suse.de>
Sat, 20 Aug 2011 07:24:54 +0000 (09:24 +0200)
snd_hda_get_conn_index() returns a negative value while the current code
stores it in an unsigned int.  It must be stored in a signed integer.

Reported-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found