]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
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)
commit5c855c8e2be67f2d5a989ef1190098f924f9f820
treefccd12fc001bea14c7cf017ecf69b6d6dd0f4e67
parent3d70f8c617a436c7146ecb81df2265b4626dfe89
ASoC: cs42l52: fix the return value of cs42l52_set_fmt()

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
sound/soc/codecs/cs42l52.c