From patchwork Fri Jun 13 06:26:54 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shahina Shaik X-Patchwork-Id: 4349011 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id AF574BEEAA for ; Fri, 13 Jun 2014 12:55:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E0B1520263 for ; Fri, 13 Jun 2014 12:55:41 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id A411F20211 for ; Fri, 13 Jun 2014 12:55:40 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id C147926514C; Fri, 13 Jun 2014 14:55:31 +0200 (CEST) Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id E2A25261B19; Fri, 13 Jun 2014 14:49:49 +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 A4ACD261684; Fri, 13 Jun 2014 08:26:07 +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 mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) by alsa0.perex.cz (Postfix) with ESMTP id 8E49826167D for ; Fri, 13 Jun 2014 08:25:59 +0200 (CEST) Received: from epcpsbgr4.samsung.com (u144.gpu120.samsung.co.kr [203.254.230.144]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N7300IURGJ8A970@mailout1.samsung.com> for alsa-devel@alsa-project.org; Fri, 13 Jun 2014 15:25:56 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.123]) by epcpsbgr4.samsung.com (EPCPMTA) with SMTP id D9.FC.13369.4799A935; Fri, 13 Jun 2014 15:25:56 +0900 (KST) X-AuditID: cbfee690-b7fb56d000003439-c4-539a9974c3e4 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id AE.91.07139.4799A935; Fri, 13 Jun 2014 15:25:56 +0900 (KST) Received: from shahina-linux.sisodomain.com ([107.108.56.162]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N7300L6HGJ35XG0@mmp2.samsung.com>; Fri, 13 Jun 2014 15:25:56 +0900 (KST) From: Shahina Shaik To: lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.de, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Date: Fri, 13 Jun 2014 11:56:54 +0530 Message-id: <1402640814-7037-1-git-send-email-shahina.s@samsung.com> X-Mailer: git-send-email 1.7.9.5 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrALMWRmVeSWpSXmKPExsWyRsSkWrdk5qxgg86jphZXLh5ispj68Amb xbcrHUwWl3fNYbPo3NXPavHt+ARGi5eb3zA5sHts+NzE5rFz1l12j02rOtk89r1dxuax+XS1 x+dNcgFsUVw2Kak5mWWpRfp2CVwZ057cZym4ylGxc/ExxgbGmexdjJwcEgImEjv23GaEsMUk Ltxbz9bFyMUhJLCUUWL3idtwRbd/7GCCSExnlOh6epgRwullkji04hhzFyMHB5uAtsT7eU4g DSIC7YwSDx+CTWUW0JL4f30NE4gtLOAisa/hMCuIzSKgKrHx6FmwGl6g+P6Fb5lAxkgIKEjM mWQDsbebXeLP0lqIcgGJb5MPsUCU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cSitz8XOllHX6l1O3Bcryz8tEiKSZJMfdWz3qUPvu8+ xVuZPUevTv3d3/713Hc3To3boz2jsn3H+rI7N2Yf/fus8L9RfueHDO3jEz9MlZkfu+l3ntX1 YDO7b9Xz8oMunxC89FSISWKn6ULOo/yHlViKMxINtZiLihMB8XlUQ9ECAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-Mailman-Approved-At: Fri, 13 Jun 2014 14:49:43 +0200 Cc: Shahina Shaik Subject: [alsa-devel] [PATCH 4/4] Sound: tlv320aic31xx: 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 coding style issues of "Missing Blank line after declaration" Signed-off-by: Shahina Shaik --- sound/soc/codecs/tlv320aic31xx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/codecs/tlv320aic31xx.c b/sound/soc/codecs/tlv320aic31xx.c index 2341910..a9c4a8b 100644 --- a/sound/soc/codecs/tlv320aic31xx.c +++ b/sound/soc/codecs/tlv320aic31xx.c @@ -329,6 +329,7 @@ static int aic31xx_wait_bits(struct aic31xx_priv *aic31xx, unsigned int reg, unsigned int bits; int counter = count; int ret = regmap_read(aic31xx->regmap, reg, &bits); + while ((bits & mask) != wbits && counter && !ret) { usleep_range(sleep, sleep * 2); ret = regmap_read(aic31xx->regmap, reg, &bits); @@ -435,6 +436,7 @@ static int mic_bias_event(struct snd_soc_dapm_widget *w, { struct snd_soc_codec *codec = w->codec; struct aic31xx_priv *aic31xx = snd_soc_codec_get_drvdata(codec); + switch (event) { case SND_SOC_DAPM_POST_PMU: /* change mic bias voltage to user defined */