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)
commit0e49a4de4564b3659a34b0b775d43b6b635b17fa
tree859c4aefe3c7db45cdce09c551ae757fc4035bb9
parentb1078e9869531af4f968ba1b9edad51264943bb8
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