summaryrefslogtreecommitdiff
path: root/sound/soc/atmel
diff options
context:
space:
mode:
authorBiju Das <biju.das.jz@bp.renesas.com>2022-07-28 10:26:12 +0100
committerMark Brown <broonie@kernel.org>2022-08-05 12:57:26 +0100
commitc75ed9f54ce8d349fee557f2b471a4d637ed2a6b (patch)
tree25303bb3c850af8646ba7343851869c2839e2a27 /sound/soc/atmel
parentc0fc96fed7ffa3e58f58b9cdb7158b5c61e026a2 (diff)
ASoC: sh: rz-ssi: Improve error handling in rz_ssi_probe() error path
We usually do cleanup in reverse order of init. Currently in case of error rz_ssi_release_dma_channels() done in the reverse order. This patch improves error handling in rz_ssi_probe() error path. While at it, use "goto cleanup" style to reduce code duplication. Reported-by: Pavel Machek <pavel@denx.de> Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Link: https://lore.kernel.org/r/20220728092612.38858-1-biju.das.jz@bp.renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/atmel')
0 files changed, 0 insertions, 0 deletions