]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: cs42l52: Minor tidy up of error paths
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Tue, 11 May 2021 10:10:51 +0000 (11:10 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 11 May 2021 14:42:44 +0000 (15:42 +0100)
commit0634493c04432bca28bc4a6c529d75595e718d90
treeba8b155ebd5569a0833959bed77018a06e931d16
parentdfebd7e0555e17e36a8008be618fd27f8f758445
ASoC: cs42l52: Minor tidy up of error paths

Fixup a needlessly initialised variable and an unchecked return
value.

Reported-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20210511101051.17726-3-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs42l52.c