[alsa-devel] [PATCH] ASoC: fsl_audmix: Add spin lock to protect tdms

Shengjiu Wang shengjiu.wang at gmail.com
Mon Nov 11 18:37:40 AEDT 2019


Hi

On Sat, Nov 9, 2019 at 10:48 AM Nicolin Chen <nicoleotsuka at gmail.com> wrote:
>
> On Wed, Nov 06, 2019 at 03:27:45PM +0800, Shengjiu Wang wrote:
> > Audmix support two substream, When two substream start
> > to run, the trigger function may be called by two substream
> > in same time, that the priv->tdms may be updated wrongly.
> >
> > The expected priv->tdms is 0x3, but sometimes the
> > result is 0x2, or 0x1.
>
> Feels like a bug fix to me, so  might be better to have a "Fixes"
> line and CC stable tree?
>
> Anyway, change looks good to me:
>
> Acked-by: Nicolin Chen <nicoleotsuka at gmail.com>
>

Ok, will send v2.

best regards
wang shengjiu


More information about the Linuxppc-dev mailing list