From: Lu Guanqun Date: Wed, 6 Apr 2011 15:25:21 +0000 (+0800) Subject: ASoC: fix config error path X-Git-Tag: v2.6.39-rc5~21^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c51def659870d25c735a9e06648e560ab39dbbb6;p=pandora-kernel.git ASoC: fix config error path initialize ret to invalid value so that when we reach the config error path in soc_pcm_open, it will return the correct error code. without this patch, though config error path is executed, soc_pcm_open will return 0 in snd_pcm_open_substream and then cause double release of substream. Signed-off-by: Lu Guanqun Signed-off-by: Mark Brown --- Reading git-diff-tree failed