From: KaiChieh Chuang <kaichieh.chuang@mediatek.com>
To: broonie@kernel.org
Cc: alsa-devel@alsa-project.org, linux-mediatek@lists.infradead.org,
wsd_upstream@mediatek.com, kaichieh.chuang@mediatek.com
Subject: [PATCH v2 0/2] ASoC: dpcm: fix BE dai not hw_free and shutdown
Date: Mon, 28 May 2018 10:18:17 +0800 [thread overview]
Message-ID: <1527473899-23079-1-git-send-email-kaichieh.chuang@mediatek.com> (raw)
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
next reply other threads:[~2018-05-28 2:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-28 2:18 KaiChieh Chuang [this message]
2018-05-28 2:18 ` [PATCH v2 1/2] ASoC: dpcm: fix BE dai not hw_free and shutdown 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1527473899-23079-1-git-send-email-kaichieh.chuang@mediatek.com \
--to=kaichieh.chuang@mediatek.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=wsd_upstream@mediatek.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.