diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2021-11-16 10:45:23 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-11-29 15:19:42 +0300 |
commit | feea640aaf1a5ae9dff6e33931e680542432e8dd (patch) | |
tree | 4ef493f91edf18dc7aed43d09d65c5c1125fbd31 /sound/soc/amd/acp.h | |
parent | 403f830e7a0be5a9e33c7a9d208574f79887ec57 (diff) | |
download | linux-feea640aaf1a5ae9dff6e33931e680542432e8dd.tar.xz |
ASoC: amd: acp-pcm-dma: add .delay support
Now ALSA SoC supports .delay for component.
This patch uses it, and not update runtime->delay on .pointer
directly / secretly.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/8735nwy25o.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/amd/acp.h')
-rw-r--r-- | sound/soc/amd/acp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/amd/acp.h b/sound/soc/amd/acp.h index 85529ed7e5f5..db80a73aa593 100644 --- a/sound/soc/amd/acp.h +++ b/sound/soc/amd/acp.h @@ -151,6 +151,7 @@ struct audio_drv_data { struct snd_pcm_substream *capture_i2sbt_stream; void __iomem *acp_mmio; u32 asic_type; + snd_pcm_sframes_t delay; }; /* |