[alsa-devel] [PATCH 0/2] ASoC: dpcm: fix BE dai not hw_free and shutdown

KaiChieh Chuang kaichieh.chuang at mediatek.com
Tue May 22 11:13:26 CEST 2018


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



More information about the Alsa-devel mailing list