ALSA: hda - fix error return code in patch_alc662()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Thu, 18 Apr 2013 03:12:59 +0000 (11:12 +0800)
committerTakashi Iwai <tiwai@suse.de>
Thu, 18 Apr 2013 07:55:26 +0000 (09:55 +0200)
commit6134b1a25b684cc105c78631255eb33b36223c5c
tree78e328974e9a16d8f3821fa4fd901af64446b086
parent594813ffa741b4bcdeff85ca09d734117ac93371
ALSA: hda - fix error return code in patch_alc662()

Fix to return a negative error code from the error handling
case instead of 0, as returned elsewhere in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c