ALSA: firewire: fix error return code in scs_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 18 Jun 2013 13:09:42 +0000 (21:09 +0800)
committerTakashi Iwai <tiwai@suse.de>
Tue, 18 Jun 2013 14:11:57 +0000 (16:11 +0200)
commit1389fd03b7ff72625cdae5cc3f838ce093661200
tree1722dbf7ceb445504aa66e898fdf83a7222b433d
parent53b434f09340db8ad59b43789b7c43f54171fe36
ALSA: firewire: fix error return code in scs_probe()

Fix to return -ENOMEM in the kmalloc() error handling
case instead of 0, as done elsewhere in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/scs1x.c