ALSA: hda - check proper return value
authorWang Xingchao <xingchao.wang@intel.com>
Thu, 7 Jun 2012 08:52:07 +0000 (16:52 +0800)
committerTakashi Iwai <tiwai@suse.de>
Thu, 7 Jun 2012 09:40:58 +0000 (11:40 +0200)
commite076eb5c952c0f724980b44a77902a2ff93d098c
treea6ed25794bce0163c1998df129ea0c607932d83d
parent0f4ccbb02533276ab750961e150aeee06492ed7c
ALSA: hda - check proper return value

snd_hda_param_read() return value -1 means error, others are responses

Signed-off-by: Wang Xingchao <xingchao.wang@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_proc.c