ASoC: cs42l52: fix the return value of cs42l52_set_fmt()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 7 Nov 2012 12:38:35 +0000 (20:38 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 7 Nov 2012 14:50:06 +0000 (15:50 +0100)
Fix the return value of cs42l52_set_fmt() when clock inversion is
not allowed and also remove the useless variable ret.

dpatch engine is used to auto generate this patch.
(https://github.com/weiyj/dpatch)

[We had been assigning to ret but then ignoring the value we assgined
-- broonie]

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@vger.kernel.org

No differences found