From patchwork Fri Jun 13 05:48:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shahina Shaik X-Patchwork-Id: 4348991 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 682B99F433 for ; Fri, 13 Jun 2014 12:54:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8924A2024C for ; Fri, 13 Jun 2014 12:54:54 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 4C41D201BA for ; Fri, 13 Jun 2014 12:54:53 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 582B82650C2; Fri, 13 Jun 2014 14:54:52 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NO_DNS_FOR_FROM, UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id EE7AD2619E7; Fri, 13 Jun 2014 14:49:46 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 83D6926162E; Fri, 13 Jun 2014 07:48:01 +0200 (CEST) Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) by alsa0.perex.cz (Postfix) with ESMTP id 674B72610B9 for ; Fri, 13 Jun 2014 07:47:53 +0200 (CEST) Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N7300IQRERRIC30@mailout1.samsung.com> for alsa-devel@alsa-project.org; Fri, 13 Jun 2014 14:47:51 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.125]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id 21.19.14704.7809A935; Fri, 13 Jun 2014 14:47:51 +0900 (KST) X-AuditID: cbfee68f-b7fef6d000003970-0e-539a908712f5 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 5F.77.07139.6809A935; Fri, 13 Jun 2014 14:47:51 +0900 (KST) Received: from shahina-linux.sisodomain.com ([107.108.56.162]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N73003TNERKJ290@mmp1.samsung.com>; Fri, 13 Jun 2014 14:47:50 +0900 (KST) From: Shahina Shaik To: perex@perex.cz, tiwai@suse.de, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, broonie@kernel.org, lgirdwood@gmail.com Date: Fri, 13 Jun 2014 11:18:47 +0530 Message-id: <1402638528-5787-1-git-send-email-shahina.s@samsung.com> X-Mailer: git-send-email 1.7.9.5 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrKLMWRmVeSWpSXmKPExsWyRsSkVrd9wqxgg9U3OC2uXDzEZDH14RM2 i29XOpgsLu+aw2bRuauf1WLpkz+MFt+OT2C0eLn5DZMDh8eGz01sHjtn3WX32LSqk81j39tl bB6bT1d7fN4kF8AWxWWTkpqTWZZapG+XwJXx+dBKloKr3BV3Ty5hb2D8xNnFyMkhIWAi8ffl SUYIW0ziwr31bF2MXBxCAksZJa6+uswOU7R8fj8ziC0ksIhRYs8ZaYiiXiaJR1/uAXVzcLAJ aEu8n+cEUiMi0M4ocexWMojNLKAvsfDhdTYQW1jARWLnjhNgy1gEVCXePlnPCmLzAsW3N84C GyMhoCAxZ5INy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Q3rrY3SoYIzJ2iu84r83ZDfkL18duqe06/TXQT2vWJd6NCf4XLM9baj ecTvxYU9P5vL46zdWdfWzBWMmhwbsozt9/dL4ca5R8Qep3NVTvn67fI99x2bGW/bdD/+FrDt Ea9Awrb3Z3t/7Gaec9/FeLbWhZClLluVn55+qMRSnJFoqMVcVJwIAEPIFg/UAgAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-Mailman-Approved-At: Fri, 13 Jun 2014 14:49:43 +0200 Cc: sharab.shaik@gmail.com, shahina.s@gmail.com Subject: [alsa-devel] [PATCH 1/2] SOUND: TLV320AIC32x4: Fixed Coding style Issues X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP From: Shahina Shaik Fixed a brace coding style issue in the tlv320aic32x4.c Signed-off-by: Shahina Shaik --- sound/soc/codecs/tlv320aic32x4.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/sound/soc/codecs/tlv320aic32x4.c b/sound/soc/codecs/tlv320aic32x4.c index 1d9b117..1e50f15 100644 --- a/sound/soc/codecs/tlv320aic32x4.c +++ b/sound/soc/codecs/tlv320aic32x4.c @@ -626,21 +626,18 @@ static int aic32x4_probe(struct snd_soc_codec *codec) snd_soc_write(codec, AIC32X4_MICBIAS, AIC32X4_MICBIAS_LDOIN | AIC32X4_MICBIAS_2075V); } - if (aic32x4->power_cfg & AIC32X4_PWR_AVDD_DVDD_WEAK_DISABLE) { + if (aic32x4->power_cfg & AIC32X4_PWR_AVDD_DVDD_WEAK_DISABLE) snd_soc_write(codec, AIC32X4_PWRCFG, AIC32X4_AVDDWEAKDISABLE); - } tmp_reg = (aic32x4->power_cfg & AIC32X4_PWR_AIC32X4_LDO_ENABLE) ? AIC32X4_LDOCTLEN : 0; snd_soc_write(codec, AIC32X4_LDOCTL, tmp_reg); tmp_reg = snd_soc_read(codec, AIC32X4_CMMODE); - if (aic32x4->power_cfg & AIC32X4_PWR_CMMODE_LDOIN_RANGE_18_36) { + if (aic32x4->power_cfg & AIC32X4_PWR_CMMODE_LDOIN_RANGE_18_36) tmp_reg |= AIC32X4_LDOIN_18_36; - } - if (aic32x4->power_cfg & AIC32X4_PWR_CMMODE_HP_LDOIN_POWERED) { + if (aic32x4->power_cfg & AIC32X4_PWR_CMMODE_HP_LDOIN_POWERED) tmp_reg |= AIC32X4_LDOIN2HP; - } snd_soc_write(codec, AIC32X4_CMMODE, tmp_reg); /* Mic PGA routing */