Dan Carpenter 856fe64da8 ASoC: cs42l56: fix up error handling in probe
There are two issues with this code.  The first error path forgot to set
the error code and instead returns success.  The second error path
doesn't clean up.

Fixes: 272b5edd3b8f ("ASoC: Add support for CS42L56 CODEC")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/X9NE/9nK9/TuxuL+@mwanda
Signed-off-by: Mark Brown <broonie@kernel.org>
2021-01-13 11:36:13 +00:00
..
2020-12-23 15:11:08 -08:00
2020-11-21 09:30:35 +01:00
2020-07-09 13:01:29 +02:00
2020-12-17 13:34:25 -08:00