ALSA: sis7019: fix error return code in sis_chip_create()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Thu, 30 May 2013 11:55:34 +0000 (19:55 +0800)
committerTakashi Iwai <tiwai@suse.de>
Fri, 31 May 2013 06:19:12 +0000 (08:19 +0200)
commit8b1dacb6ae15c94d50642a474e5af8981555253b
treef12300b0734aded5d980487f93127bc30d162eca
parent8a90bb5116889e98008fbc8178fc2a77bb51df4a
ALSA: sis7019: fix error return code in sis_chip_create()

Fix to return a negative error code in the pci_set_dma_mask() error
handling case instead of 0, as done elsewhere in this function.

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