ASoC: imx-sgtl5000: fix error return code in imx_sgtl5000_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 16 Jul 2013 12:05:07 +0000 (20:05 +0800)
committerMark Brown <broonie@linaro.org>
Tue, 16 Jul 2013 13:29:28 +0000 (14:29 +0100)
Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>

No differences found