Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1281119pxb; Thu, 16 Sep 2021 04:11:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxkCB8ReHzkfAWa04KviKq0+6aNRlvFCIWF2IoYK5AtU9Q7M4FcpdAepbDxFyRQhNE1bJ9Y X-Received: by 2002:a05:6e02:1d0c:: with SMTP id i12mr3655516ila.209.1631790694293; Thu, 16 Sep 2021 04:11:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631790694; cv=none; d=google.com; s=arc-20160816; b=YuCy8mrVzhXT7uAdvjxGNezmA4Wc14MQm2WS7+5iW7i/0rPEK1OimAs/IcrKR0eKCh VcQIplLau4p5NUtIdJk26LzGWJ6tm+GseVNPghGzbyZt7qDRMqZsaX76FXv4jWTItZFe cPVakTxG+ziDlBQvwevkPA9v4k3g/uPPKJRty2auUWgJkkq+xVN6R3SiFTMO2cEgaTa9 +jECIysVvT9ZbXCxbaAZbz1VYe+wwpDDMTHdExVopWiVZThB73BGGakNygtG3xVPt6Wu 5x3t+nncaeOFPeOKzggPtfQYF2OSJ3+t4owT5Zi+34i+4ikLzm3k+ITIVkztBFYqfXDo h06A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=mFi19XvaUko6t2jE/3cXw+dmfQOl+cAX8w3Eh3SXVLI=; b=uDeB3i8Ex+Lgy/GrJD+tJ/jkm8+ix04MCO//RZN3s+uCsOl/PsZ0Yc54Q/9S6gzDH8 N3fGLonf3QrPSCsHXQsEJulB00Y8lYYIuYUAtCdSTA0fzc1omOlXiyMzEU4G3slyQcY5 4bhXK4/WD5OheBqqk/C40Rr6fhmAcEUO4M2EcIcewJuOuylAv1FHVyymLOauwyLdS9Do vdiPQU7c7/c6mCEisjw6HPpHF6KR5943ZqUPgZYJM1RCPKvNi3hTYTt42VDUl1sTwZR9 m4w74KV1reZmSD9jW6pKATQrdT7wgILGnuQhNbA4Vl/gbVHWJBFcwWk0YiibPrOkH+il Aayw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=cNK5xIVp; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f1si2354237jat.60.2021.09.16.04.11.21; Thu, 16 Sep 2021 04:11:34 -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; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=cNK5xIVp; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235684AbhIPLL5 (ORCPT + 99 others); Thu, 16 Sep 2021 07:11:57 -0400 Received: from mx0a-001ae601.pphosted.com ([67.231.149.25]:8784 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S235657AbhIPLLz (ORCPT ); Thu, 16 Sep 2021 07:11:55 -0400 Received: from pps.filterd (m0077473.ppops.net [127.0.0.1]) by mx0a-001ae601.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 18G8MpLU022854; Thu, 16 Sep 2021 06:09:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=PODMain02222019; bh=mFi19XvaUko6t2jE/3cXw+dmfQOl+cAX8w3Eh3SXVLI=; b=cNK5xIVpUYTAN4lPVng+rG1fjX6r99Co1P/v69M8Vv+IFd5LKJMKkLZaJsTt5WyWzhTX 7anXHhQ80kaF7s1SghC3/q/NPw6tjUU9xYyEHEhh7VIZr4A674wlETDf5cldOvZsCs4V QZSqW6OQWi6+/NuV+4a7tQgh40rI4YzcIN1ZQcQWCXllNioHsa5ZKUpxlezCFhuLEHmN X7mHkxY9/NdPcUeui1YM8HS2vn2ZfxllNiQNDuiCXsc6UYU6Z15xvBzm5mlMSaIA4bix 2MIHTQSi4jCTvNtcxhVFYPEY75VtrD/qZnLcAXD1wEK4HoFKQeuxjjSBxLxsgsT8N2A2 UA== Received: from ediex01.ad.cirrus.com ([87.246.76.36]) by mx0a-001ae601.pphosted.com with ESMTP id 3b42c3g55h-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Thu, 16 Sep 2021 06:09:48 -0500 Received: from EDIEX01.ad.cirrus.com (198.61.84.80) by EDIEX01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Thu, 16 Sep 2021 12:09:46 +0100 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by EDIEX01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server id 15.1.2242.12 via Frontend Transport; Thu, 16 Sep 2021 12:09:46 +0100 Received: from vitaly-Inspiron-5415.ad.cirrus.com (unknown [198.90.238.230]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id 88961B15; Thu, 16 Sep 2021 11:09:46 +0000 (UTC) From: Vitaly Rodionov To: James Schulman , David Rhodes , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai CC: , , Subject: [PATCH] ASoC: cs42l42: Minor fix all errors reported by checkpatch.pl script Date: Thu, 16 Sep 2021 12:09:32 +0100 Message-ID: <20210916110932.10293-1-vitalyr@opensource.cirrus.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: RFJnzexq69DN1V7fEWUT_fyrWmZroRwF X-Proofpoint-ORIG-GUID: RFJnzexq69DN1V7fEWUT_fyrWmZroRwF X-Proofpoint-Spam-Reason: safe Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Vitaly Rodionov --- sound/soc/codecs/cs42l42.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sound/soc/codecs/cs42l42.c b/sound/soc/codecs/cs42l42.c index c586ebff45f7..d5e1e5228b5f 100644 --- a/sound/soc/codecs/cs42l42.c +++ b/sound/soc/codecs/cs42l42.c @@ -851,7 +851,7 @@ static int cs42l42_pcm_hw_params(struct snd_pcm_substream *substream, if (params_width(params) == 24) cs42l42->bclk = (cs42l42->bclk / 3) * 4; - switch(substream->stream) { + switch (substream->stream) { case SNDRV_PCM_STREAM_CAPTURE: if (channels == 2) { val |= CS42L42_ASP_TX_CH2_AP_MASK; @@ -935,7 +935,7 @@ static int cs42l42_mute_stream(struct snd_soc_dai *dai, int mute, int stream) CS42L42_HP_ANA_BMUTE_MASK); cs42l42->stream_use &= ~(1 << stream); - if(!cs42l42->stream_use) { + if (!cs42l42->stream_use) { /* * Switch to the internal oscillator. * SCLK must remain running until after this clock switch. @@ -1015,7 +1015,7 @@ static int cs42l42_mute_stream(struct snd_soc_dai *dai, int mute, int stream) #define CS42L42_FORMATS (SNDRV_PCM_FMTBIT_S16_LE |\ SNDRV_PCM_FMTBIT_S24_LE |\ - SNDRV_PCM_FMTBIT_S32_LE ) + SNDRV_PCM_FMTBIT_S32_LE) static const struct snd_soc_dai_ops cs42l42_ops = { .startup = cs42l42_dai_startup, @@ -1572,7 +1572,7 @@ static irqreturn_t cs42l42_irq_thread(int irq, void *data) if ((~masks[5]) & irq_params_table[5].mask) { if (stickies[5] & CS42L42_HSDET_AUTO_DONE_MASK) { cs42l42_process_hs_type_detect(cs42l42); - switch(cs42l42->hs_type){ + switch (cs42l42->hs_type) { case CS42L42_PLUG_CTIA: case CS42L42_PLUG_OMTP: snd_soc_jack_report(cs42l42->jack, SND_JACK_HEADSET, @@ -1604,7 +1604,7 @@ static irqreturn_t cs42l42_irq_thread(int irq, void *data) cs42l42->plug_state = CS42L42_TS_UNPLUG; cs42l42_cancel_hs_type_detect(cs42l42); - switch(cs42l42->hs_type){ + switch (cs42l42->hs_type) { case CS42L42_PLUG_CTIA: case CS42L42_PLUG_OMTP: snd_soc_jack_report(cs42l42->jack, 0, SND_JACK_HEADSET); -- 2.25.1