ASoC: wm2000: Fix return of uninitialised varible
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Thu, 11 Aug 2016 13:40:04 +0000 (14:40 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 11 Aug 2016 14:01:02 +0000 (15:01 +0100)
commitfa54aade5338937146bb6b8af93d2c27f6787ae1
tree2339610610678087bb491cf35c61a8b708fc0689
parent29b4817d4018df78086157ea3a55c1d9424a7cfc
ASoC: wm2000: Fix return of uninitialised varible

Anything that sets ret in wm2000_anc_transition will have immediately
returned anyway as such we will always return an uninitialised ret at the
bottom of the function. Simply replace the return with a return 0;

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm2000.c