diff options
author | Lad Prabhakar <[email protected]> | 2022-04-26 08:49:22 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-04-27 17:22:50 +0100 |
commit | 767e6f26204d3f5406630e86b720d01818b8616d (patch) | |
tree | 15224311ce2f64d531a02b1e759ff8166f12bf47 /lib/genalloc.c | |
parent | 91686a3984f34df0ab844cdbaa7e4d9621129f5d (diff) |
ASoC: sh: rz-ssi: Release the DMA channels in rz_ssi_probe() error path
DMA channels requested by rz_ssi_dma_request() in rz_ssi_probe() were
never released in the error path apart from one place. This patch fixes
this issue by calling rz_ssi_release_dma_channels() in the error path.
Fixes: 26ac471c5354 ("ASoC: sh: rz-ssi: Add SSI DMAC support")
Reported-by: Pavel Machek <[email protected]>
Signed-off-by: Lad Prabhakar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/genalloc.c')
0 files changed, 0 insertions, 0 deletions