Linux-mediatek Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] ASoC: dpcm: fix BE dai not hw_free and shutdown
@ 2018-05-28  2:18 KaiChieh Chuang
  2018-05-28  2:18 ` [PATCH v2 1/2] " KaiChieh Chuang
       [not found] ` <1527473899-23079-1-git-send-email-kaichieh.chuang-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
  0 siblings, 2 replies; 4+ messages in thread
From: KaiChieh Chuang @ 2018-05-28  2:18 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.

v2:
    remove flag condition

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

 sound/soc/soc-pcm.c | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

-- 
1.9.1

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

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

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-28  2:18 [PATCH v2 0/2] ASoC: dpcm: fix BE dai not hw_free and shutdown KaiChieh Chuang
2018-05-28  2:18 ` [PATCH v2 1/2] " KaiChieh Chuang
2018-05-29 14:59   ` Applied "ASoC: dpcm: fix BE dai not hw_free and shutdown" to the asoc tree Mark Brown
     [not found] ` <1527473899-23079-1-git-send-email-kaichieh.chuang-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
2018-05-28  2:18   ` [PATCH v2 2/2] ASoC: dpcm: symmetry constraint on FE substream KaiChieh Chuang

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