Unverified Commit f16f538b authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!14018 ASoC: stm32: spdifrx: fix dma channel release in stm32_spdifrx_remove

parents b71af6f0 545967e7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -948,7 +948,7 @@ static int stm32_spdifrx_remove(struct platform_device *pdev)
{
	struct stm32_spdifrx_data *spdifrx = platform_get_drvdata(pdev);

	if (spdifrx->ctrl_chan)
	if (!IS_ERR(spdifrx->ctrl_chan))
		dma_release_channel(spdifrx->ctrl_chan);

	if (spdifrx->dmab)