alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] ASoC: soc-pcm: tidyup soc_pcm_pointer()'s delay update method
@ 2021-11-16  7:44 Kuninori Morimoto
  2021-11-16  7:45 ` [PATCH 1/5] ASoC: soc-dai: update snd_soc_dai_delay() to snd_soc_pcm_dai_delay() Kuninori Morimoto
                   ` (6 more replies)
  0 siblings, 7 replies; 13+ messages in thread
From: Kuninori Morimoto @ 2021-11-16  7:44 UTC (permalink / raw)
  To: Mark Brown
  Cc: Pierre-Louis Bossart, Cezary Rojewski, Liam Girdwood, Jie Yang,
	Linux-ALSA, Takashi Iwai, Hans de Goede, Gu Shengxian


Hi Mark

Current soc_pcm_pointer() is checking runtime->delay,
but it might be updated silently by component's .point callback.
It is strange and difficult to find/know the issue.

This patch adds .delay callback for component, and solve the issue.

Kuninori Morimoto (5):
  ASoC: soc-dai: update snd_soc_dai_delay() to snd_soc_pcm_dai_delay()
  ASoC: soc-component: add snd_soc_pcm_component_delay()
  ASoC: amd: acp-pcm-dma: add .delay support
  ASoC: intel: sst-mfld-platform-pcm: add .delay support
  ASoC: soc-pcm: tidyup soc_pcm_pointer()'s delay update method

 include/sound/soc-component.h                |  4 ++
 include/sound/soc-dai.h                      |  4 +-
 sound/soc/amd/acp-pcm-dma.c                  | 15 +++++++-
 sound/soc/amd/acp.h                          |  1 +
 sound/soc/intel/atom/sst-mfld-platform-pcm.c | 14 ++++++-
 sound/soc/soc-component.c                    | 28 ++++++++++++++
 sound/soc/soc-dai.c                          | 40 ++++++++++++++------
 sound/soc/soc-pcm.c                          | 29 +++-----------
 8 files changed, 95 insertions(+), 40 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2021-11-29 16:47 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-16  7:44 [PATCH 0/5] ASoC: soc-pcm: tidyup soc_pcm_pointer()'s delay update method Kuninori Morimoto
2021-11-16  7:45 ` [PATCH 1/5] ASoC: soc-dai: update snd_soc_dai_delay() to snd_soc_pcm_dai_delay() Kuninori Morimoto
2021-11-16 20:43   ` Pierre-Louis Bossart
2021-11-25 16:39     ` Mark Brown
2021-11-25 23:41       ` Kuninori Morimoto
2021-11-26 14:09         ` Mark Brown
2021-11-29 15:42           ` Pierre-Louis Bossart
2021-11-16  7:45 ` [PATCH 2/5] ASoC: soc-component: add snd_soc_pcm_component_delay() Kuninori Morimoto
2021-11-16  7:45 ` [PATCH 3/5] ASoC: amd: acp-pcm-dma: add .delay support Kuninori Morimoto
2021-11-16  7:45 ` [PATCH 4/5] ASoC: intel: sst-mfld-platform-pcm: " Kuninori Morimoto
2021-11-16  7:45 ` [PATCH 5/5] ASoC: soc-pcm: tidyup soc_pcm_pointer()'s delay update method Kuninori Morimoto
2021-11-29 15:43 ` [PATCH 0/5] " Pierre-Louis Bossart
2021-11-29 16:45 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).