Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp5877320ybx; Sun, 10 Nov 2019 23:39:15 -0800 (PST) X-Google-Smtp-Source: APXvYqzDnooeXKy/Ng8N0Puj3gNjLNM+aRritEWHLhrSxUwlr7SlA2BGPdWbwPaRH4716PFgbp0Z X-Received: by 2002:a17:906:ecf5:: with SMTP id qt21mr21014899ejb.295.1573457954999; Sun, 10 Nov 2019 23:39:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573457954; cv=none; d=google.com; s=arc-20160816; b=jTmj2ViZ5mFLKstwF52xtI42bLX9ZCYGUZreRXxd5sthb1XImyjY3OBOpYwgU5aIj5 8gIT4VMDREGIdslrvriXKGljwe2Ypl9MhCFv2k7qP/g8ZHlZxM3pm8QM9HUPKIhSpC/M M35MStnseylqR1+C7KumlnJh+qkEKWZBTXPKZQGJeVEEM1wkIA003yleZC3Wrz4FmCh0 pqah3H+J2iXL8PFSi86xJ94d0Li84pN1UgJZBdmPttRQD7b0uiZ/RoVFws1oNbgBm8U4 /pRtXdgxkdbdsPF+dGnJ1mAGeLX9O/BfdxgiHGQ3jVsXRpD6WUGtcLkag2JRcrP7gOu6 kz7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=t4Zb47p2XPwOCswEiVCxFP3pBYMa8dixjcKcMTAk1Xk=; b=05kyf9n0Z9YvRKwHjOGkq2hfn+dpSSkpIju3ByvdDVFt7y/oaQSWVFbHJMQ908HF1D 9G7zBMdR74BN0j1hbI9pRUfNIFdjPStZApZ0yvzkTlzh2XlSS0L0R+MYHyxTOUnV499a izSo1a9a1zCN4UO+urswmfHe83HjN1FTWE3xscmw+5S9m0ZLoLexfneSlj4xYlFYRFlB DBM/BYsMaEENFjoUwa9NpI1JCrYtLzIocBRFyyQ5OdNu19H8OROmMONPp1QqqA9IxRAr q5gFdFRmS6raIFuCIsE0Q3pkEEvsKbLQ9c6nQqwIUVJm6vWb2YWQLhKIYnf55q37L0qK ym9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="Gvu+8N/l"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b22si9246316ejv.159.2019.11.10.23.38.51; Sun, 10 Nov 2019 23:39:14 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="Gvu+8N/l"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726857AbfKKHhw (ORCPT + 99 others); Mon, 11 Nov 2019 02:37:52 -0500 Received: from mail-qv1-f67.google.com ([209.85.219.67]:40284 "EHLO mail-qv1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726360AbfKKHhw (ORCPT ); Mon, 11 Nov 2019 02:37:52 -0500 Received: by mail-qv1-f67.google.com with SMTP id i3so4305244qvv.7 for ; Sun, 10 Nov 2019 23:37:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=t4Zb47p2XPwOCswEiVCxFP3pBYMa8dixjcKcMTAk1Xk=; b=Gvu+8N/lhR7xyJ0lGg6oiJJrH5spP3uTiLTY1hjI1MQw7T2ABX41o5lsHenviAHG9e Lfax9OZnTplip+abpfLRUNX3sr8mCLZyv01XVtD+uuObGt5p/ShA4nfi5nrooxc2l0xR q8p+MbexiTGoAT5xg4F1AFUwJ3lZiI3PwB0lJeTFffms9sRF8cm3hlKgDIFvpj0MW9CU s5d6s/uQ7G/7saHs+tYTUrm/1UXYhR+Oeui90reYAfFE0Z41w18BqZxZNlBcUNiWozBq K2SjQ6OOgFyJTqyGsJqx/9dNCr60a6pmjVGB/+s4bonMwDVTYCZy+ar2pJYDVR8qS4yC xXvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=t4Zb47p2XPwOCswEiVCxFP3pBYMa8dixjcKcMTAk1Xk=; b=js9qSAjeP7JEmgkox/UCwu0si/Wh0hwKkGbmcYes5A7+0A1Xtj63BY01pZizVbqWBG lrfI/MXh4Vx7oZayx7VWefjgvCyL/so/LYf4yvul90VYMFH8Z6XLYT+FdZn1Kh0Aflzg iX3w3GKHApNzKEy6LyCXuPuu7H3p6/aWjS1iodBd3U/KYPrOZItnvj0brrs9iKirbYY9 Ebb76L/bwpy0q/MuHwG038cBUEYFIRHnzLWT+7biC1damzFEveNlQzPOjrKGtGtxHubj AmyT8YwC4wUePI/vTbFiXdHyngKeI1yFGaaJr/bVvU5qX7+9KsmuvWqtzME3C7f0onPR 8snA== X-Gm-Message-State: APjAAAUH0cEhKr8C5PbBIWl+GqsCPhQIca0FknetYF4L6sLPkC9ACJFT KEslA3mLBozLHUYSoLRX67k4WwE/be/yrG+sfU0= X-Received: by 2002:ad4:538b:: with SMTP id i11mr18033921qvv.211.1573457871628; Sun, 10 Nov 2019 23:37:51 -0800 (PST) MIME-Version: 1.0 References: <1573025265-31852-1-git-send-email-shengjiu.wang@nxp.com> <20191109024502.GA9187@Asurada-Nvidia.nvidia.com> In-Reply-To: <20191109024502.GA9187@Asurada-Nvidia.nvidia.com> From: Shengjiu Wang Date: Mon, 11 Nov 2019 15:37:40 +0800 Message-ID: Subject: Re: [alsa-devel] [PATCH] ASoC: fsl_audmix: Add spin lock to protect tdms To: Nicolin Chen Cc: Shengjiu Wang , alsa-devel@alsa-project.org, timur@kernel.org, Xiubo.Lee@gmail.com, linuxppc-dev@lists.ozlabs.org, tiwai@suse.com, broonie@kernel.org, festevam@gmail.com, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi On Sat, Nov 9, 2019 at 10:48 AM Nicolin Chen 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 > Ok, will send v2. best regards wang shengjiu