Skip to content

Commit

Permalink
ASoC: amd: Enable interrupt in dma_open
Browse files Browse the repository at this point in the history
Fixes interrupt enable condition check with which now
interrupt gets enabled in dma_open.
Prior to this patch it was getting enabled in runtime_resume only.

Signed-off-by: Akshu Agrawal <akshu.agrawal@amd.com>
Link: https://lore.kernel.org/r/20200630183754.20641-1-akshu.agrawal@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Akshu Agrawal authored and Mark Brown committed Jul 1, 2020
1 parent 88ba5f4 commit 820d7fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/amd/raven/acp3x-pcm-dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ static int acp3x_dma_open(struct snd_soc_component *component,
}

if (!adata->play_stream && !adata->capture_stream &&
adata->i2ssp_play_stream && !adata->i2ssp_capture_stream)
!adata->i2ssp_play_stream && !adata->i2ssp_capture_stream)
rv_writel(1, adata->acp3x_base + mmACP_EXTERNAL_INTR_ENB);

i2s_data->acp3x_base = adata->acp3x_base;
Expand Down

0 comments on commit 820d7fc

Please sign in to comment.