]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ASoC: cs35l41: Don't overwrite returned error code
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Tue, 14 Sep 2021 14:13:47 +0000 (15:13 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 15 Sep 2021 12:12:33 +0000 (13:12 +0100)
commite371eadf2a93a653211331b66beaac3b1bcbc931
treeadb4068cab4a42de501e04a536c5d6bcdb810352
parentfe1024d50477becf35128f3ef03bf3525a2cd140
ASoC: cs35l41: Don't overwrite returned error code

In multiple places the driver overwrites the error code returned with
a static error code, this is not helpful for debugging. Update to pass
the error codes straight through.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20210914141349.30218-4-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs35l41.c