public inbox for linux-mediatek@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 0/2] ASoC: dpcm: fix BE dai not hw_free and shutdown
@ 2018-05-22  9:13 KaiChieh Chuang
  2018-05-22  9:13 ` [PATCH 1/2] " KaiChieh Chuang
  2018-05-22  9:13 ` [PATCH 2/2] ASoC: dpcm: symmetry constraint on FE substream KaiChieh Chuang
  0 siblings, 2 replies; 5+ messages in thread
From: KaiChieh Chuang @ 2018-05-22  9:13 UTC (permalink / raw)
  To: broonie; +Cc: alsa-devel, linux-mediatek, wsd_upstream, kaichieh.chuang

These two patch is to solve problem found
in the case of one BE is used by multiple FE.

The error log "ASoC: Unable to apply rate constraint"
will happen when be_substream->runtime is use after free.
Which is due to BE not being hw_free/shutdown correctly.

Also to resolve fe_substream->runtime is not
constrained by BE dai symmetry property.

KaiChieh Chuang (2):
  ASoC: dpcm: fix BE dai not hw_free and shutdown
  ASoC: dpcm: symmetry constraint on FE substream

 include/sound/soc-dpcm.h |  2 ++
 sound/soc/soc-pcm.c      | 22 +++++++++++++++++-----
 2 files changed, 19 insertions(+), 5 deletions(-)

-- 
1.9.1

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

end of thread, other threads:[~2018-05-29 14:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-22  9:13 [PATCH 0/2] ASoC: dpcm: fix BE dai not hw_free and shutdown KaiChieh Chuang
2018-05-22  9:13 ` [PATCH 1/2] " KaiChieh Chuang
2018-05-25 11:31   ` Mark Brown
2018-05-22  9:13 ` [PATCH 2/2] ASoC: dpcm: symmetry constraint on FE substream KaiChieh Chuang
2018-05-29 14:59   ` Applied "ASoC: dpcm: symmetry constraint on FE substream" to the asoc tree Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox