Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp3476772pxu; Sun, 11 Oct 2020 11:04:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx9wiXl5r2rvoBcGx3n/+m0TG77bv5uygsWVS0ChxUbrptbLhsYhEJFnn8Suyg6ZzkQ81R/ X-Received: by 2002:a50:ab5b:: with SMTP id t27mr10155609edc.281.1602439470509; Sun, 11 Oct 2020 11:04:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602439470; cv=none; d=google.com; s=arc-20160816; b=NhXoQblmDoVWsY+rL//gPnnxVIHu91Ln4gdABYXMkkVQyMS9PvFHElhDusvUIsFCgW keKcTsrFKpWwHpnCN10aqFyE8ly5FAyHfuIzIk0kyMwq/iCv/yKOIjTPiEn4ZcrSqB35 4OBtAznfCUzO7aDgtIj08cxiu0CWVgwGR3hNw3uiBYfE0jv/qC/+AJBPfCEW5a+DWr4u D4qLmkU01hhFQJio2HilhC3LOK7tOaesLy4w3vclldyTQfIPkY6ipW07lLExjpfn71/B 4BM0ThW1dMyW27oXBFjps5W/xYdHw8RpW9MtWHWlc4iF/orVVfhHTTVlyNEm5hLdKK3f R0lg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=eqhpOj5YnvzcPAUmOHrmn8ASyk0efV5IFXyFgVRF898=; b=mRiM9wPg5OV23YvvMVK7r6kE9wu3uaWScX2wGTvqUL8QHSIvzCAH9KRU5zSG3crs/o cHm7plCA4TdjsPfDsAGGoN2wo+wp54tZ//ytH4wL5DR6vR/mx96Sw6q7fc6hKPTVFrGI wHGZIR0JfSYuNaAJV3XINYie8zSm/tXDU3SjBWEk7RRASEI+OVfxT+D9rSrMN6O9pdmE rJhRLhR6HBKEGoosZRaJRnItGSH6pjUPae/qa+8ftgcdvSL0bOtIb65Ph5HI5J+gPri5 CTQ9F/T2LhHzo6+FNSLHgjmAU6zAAckNtSpOMyUOwV1FQKb4MyAA+56yBgXiqeX/QZOJ XRTQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a3si10118891edn.245.2020.10.11.11.04.07; Sun, 11 Oct 2020 11:04:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387622AbgJKKCv (ORCPT + 99 others); Sun, 11 Oct 2020 06:02:51 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:50836 "EHLO mail2-relais-roc.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387577AbgJKKCt (ORCPT ); Sun, 11 Oct 2020 06:02:49 -0400 X-IronPort-AV: E=Sophos;i="5.77,362,1596492000"; d="scan'208";a="471981625" Received: from palace.rsr.lip6.fr (HELO palace.lip6.fr) ([132.227.105.202]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/AES256-SHA256; 11 Oct 2020 12:02:41 +0200 From: Julia Lawall To: Charles Keepax Cc: =?UTF-8?q?Valdis=20Kl=C4=93tnieks?= , Joe Perches , Thomas Gleixner , kernel-janitors@vger.kernel.org, Richard Fitzgerald , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, patches@opensource.cirrus.com, linux-kernel@vger.kernel.org Subject: [PATCH 7/8] ASoC: madera: use semicolons rather than commas to separate statements Date: Sun, 11 Oct 2020 11:19:38 +0200 Message-Id: <1602407979-29038-8-git-send-email-Julia.Lawall@inria.fr> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1602407979-29038-1-git-send-email-Julia.Lawall@inria.fr> References: <1602407979-29038-1-git-send-email-Julia.Lawall@inria.fr> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Replace commas with semicolons. What is done is essentially described by the following Coccinelle semantic patch (http://coccinelle.lip6.fr/): // @@ expression e1,e2; @@ e1 -, +; e2 ... when any // Signed-off-by: Julia Lawall --- sound/soc/codecs/madera.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/codecs/madera.c b/sound/soc/codecs/madera.c index 680f31a6493a..f4ed7e04673f 100644 --- a/sound/soc/codecs/madera.c +++ b/sound/soc/codecs/madera.c @@ -3019,11 +3019,11 @@ static int madera_hw_params_rate(struct snd_pcm_substream *substream, tar = 2 << MADERA_AIF1_RATE_SHIFT; break; case MADERA_CLK_ASYNCCLK_1: - reg = MADERA_ASYNC_SAMPLE_RATE_1, + reg = MADERA_ASYNC_SAMPLE_RATE_1; tar = 8 << MADERA_AIF1_RATE_SHIFT; break; case MADERA_CLK_ASYNCCLK_2: - reg = MADERA_ASYNC_SAMPLE_RATE_2, + reg = MADERA_ASYNC_SAMPLE_RATE_2; tar = 9 << MADERA_AIF1_RATE_SHIFT; break; default: