]> 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 17:57:18 +0000 (18:57 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 12 May 2021 12:00:40 +0000 (13:00 +0100)
commit4ce88fb3c4c59271ba212c8e7179c480d303abd0
tree859c4aefe3c7db45cdce09c551ae757fc4035bb9
parent5c4f01a93b3b09407d08451db761c2f5cc2f0484
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/20210511175718.15416-5-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs42l56.c