From patchwork Thu Apr 12 21:14:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Rosin X-Patchwork-Id: 10339253 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 2D85F60329 for ; Thu, 12 Apr 2018 21:15:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 188BD284F1 for ; Thu, 12 Apr 2018 21:15:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0D665284F5; Thu, 12 Apr 2018 21:15:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D65C8284F1 for ; Thu, 12 Apr 2018 21:15:33 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id A5A432673CF; Thu, 12 Apr 2018 23:15:32 +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 9527A2673A2; Thu, 12 Apr 2018 23:15:30 +0200 (CEST) Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30138.outbound.protection.outlook.com [40.107.3.138]) by alsa0.perex.cz (Postfix) with ESMTP id 8F6DF266F69 for ; Thu, 12 Apr 2018 23:15:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axentia.se; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=iaKZ04QxBx9C7A+lLuAD4ixYeZRvwgfW9NDlYfDEkLY=; b=NgpoXloXJ8NUNTb++iIrbCl7Bp8WfW1WYmPuLOypAZSvUhYmngxYxsINjXQpyyQ2Z5DdlqPpIzrndHKUzHe/mocjtIagWbpxYRgHS5AXHNVJkhViYb42GCotbCBBwHNIoHmd4Hgy4uzzVSXvombGzAcoGFbhttTPHk5qpNshWZQ= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=peda@axentia.se; Received: from orc.pedanet (85.226.244.23) by AM4PR0202MB2770.eurprd02.prod.outlook.com (2603:10a6:200:8c::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.675.9; Thu, 12 Apr 2018 21:15:16 +0000 From: Peter Rosin To: linux-kernel@vger.kernel.org Date: Thu, 12 Apr 2018 23:14:34 +0200 Message-Id: <20180412211437.21599-3-peda@axentia.se> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180412211437.21599-1-peda@axentia.se> References: <20180412161601.GI9929@sirena.org.uk> <20180412211437.21599-1-peda@axentia.se> MIME-Version: 1.0 X-Originating-IP: [85.226.244.23] X-ClientProxiedBy: HE1PR02CA0105.eurprd02.prod.outlook.com (2603:10a6:7:29::34) To AM4PR0202MB2770.eurprd02.prod.outlook.com (2603:10a6:200:8c::20) X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(7021125)(4534165)(7022125)(4603075)(4627221)(201702281549075)(7048125)(7024125)(7027125)(7028125)(7023125)(5600026)(2017052603328)(7153060)(7193020); SRVR:AM4PR0202MB2770; X-Microsoft-Exchange-Diagnostics: 1; AM4PR0202MB2770; 3:ZIeYdd6MFcnR2bY4JQv8wJl2a4iwFkxdkBQfruJ3Ey+3GqYGmge2EMK+ZnnJUc9yE8OgoTItwBhil3EvkAJNOCTF035gbSb2SDvZttaZmyqrCQ3lorOaZjCG4e2qefeqVp/quxHVaFGIq+slW+BVtjOQleN3/75tpMEQ7wDDvB9ZE1J8uolSOVcFmiivV0ElCLFa+f1fh9eYLAkbqguI/pzx5IuBBImMvD98ivA6Zku04cnFQ2CbXEJsUbG80rHU; 25:Ig5NQlkGjGyMJZ5fRBUz2YMsI5U4aO+G6y3au9jKM+u533YPE6clOF8cQd5hJ7TNh44Iz+tNE8VQmswE7Dp+6bC7QpBFr0SyTzCnZQiVwnK7itGMjyduDOOJjhbYDoE6LTHSX/c2rPdT1eK6yREFTGGHa8nrH5U88hN2lOopc1/DPnnLTWEZRf3el+rIPGsuofAneG8iWcv3QFtPQoKyh30KnWob+glX2pWvSqIaJyCsqvjPPnAdpqHOOEj6K+fJbgTOCpPmQLctAPvTHiEzXp9in1g4enfj/zkzwS9R3xCcE2TtR2W7P17niUl1vO7biLqhnYEyFyP87XN3EkbePQ==; 31:bRX8leMXwIHITnh4wRTZcNckIACQqQjHcX4FGJVdCoAqNlfeZFqoIamdeqGqCixNgW6Ynoqrxt9Qy2X7pdpbb+6KMMRbM7JOeOuZKh1gGcb5qvuZt5rSJNfbMHYLRK4T2F9YkeG2kf0ErNApBm1w6mA+fDSEuK+eu9E/r2n7W4orDD1CwWP9rMTpoveRjQWrGUZWsxE76tO8FTwpBxQllSyRwLsLTPaY49CrSisRIZU= X-MS-TrafficTypeDiagnostic: AM4PR0202MB2770: X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(5005006)(8121501046)(3002001)(3231232)(944501327)(52105095)(10201501046)(93006095)(93001095)(6041310)(20161123564045)(20161123558120)(20161123562045)(20161123560045)(2016111802025)(6072148)(6043046)(201708071742011); SRVR:AM4PR0202MB2770; BCL:0; PCL:0; RULEID:; SRVR:AM4PR0202MB2770; X-Microsoft-Exchange-Diagnostics: 1; AM4PR0202MB2770; 4:DWVo3bHkQAgWMcMF2/bNDR8Pr6eImWKeVOPPoRSmhR6YdA68mb59Re4vs2/SfyQAFxrkdRAX5Cl/k0PMcA/JTL/dUCnbmPidROOgnSW8BzYcVwVTpz+yP/upWWtl6XQk8EcFLbKo2nb3tT82syVtEDtNXAh5F1KRGX6UoDPhxNajt+B8KohDeoUJoBup2cIeYyM6d5Ua6sXqRPVO/hhSJuvYCuL8eP2K3h3jrdhzWv1LHcWv+7YOLQg7VGYajazpXrpldr85X0quBGxyK7gz8Q== X-Forefront-PRVS: 06400060E1 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(396003)(366004)(39380400002)(346002)(39830400003)(376002)(189003)(199004)(97736004)(6916009)(2361001)(36756003)(2351001)(68736007)(6512007)(66066001)(86362001)(11346002)(2616005)(2906002)(6116002)(7736002)(6666003)(47776003)(478600001)(1076002)(476003)(486006)(956004)(446003)(26005)(575784001)(54906003)(3846002)(4326008)(8936002)(25786009)(6486002)(51416003)(39060400002)(186003)(316002)(386003)(53936002)(105586002)(74482002)(16526019)(16586007)(76176011)(106356001)(6506007)(50466002)(81166006)(5660300001)(52116002)(305945005)(81156014)(8676002)(50226002)(48376002)(59450400001)(42262002)(309714004); DIR:OUT; SFP:1102; SCL:1; SRVR:AM4PR0202MB2770; H:orc.pedanet; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: axentia.se does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM4PR0202MB2770; 23:z97KvCRmn7qmDFEIoiADlxI9SM6MJrFtWluwj2Z?= =?us-ascii?Q?RgakUgs7KVhf8kdF7DGZdYHtsbDV9dwmE3t17r4dIXlhjWsR/u9t60zNyMtG?= =?us-ascii?Q?GnOAri9bl/8dYyOsTSWY4lqeZN8iXbw15X07jP9ZdFK5PbhXcMaP3rJs5wau?= =?us-ascii?Q?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MwrexkIfqWcmFi8ENnbn8EpEk4t920rUCHqOVLVC/MxGrF9hQ7T37LRNLSxH9D7bnaIMnlqSOqP74qAtj7Ypdtv360fK0Y2bPTfMLLTMIWbWw==; 5:lUnRzyTNYY4f422thm119Sui7VTiHBERH4mhdjS+uCRYfK/Ok1o171khBRGzxyA++x6dM9VRyb0lYGemVTNIJQXLWFU9pSI5Z+Jlkf5Y8riUwid4cwKPZ6MFQUeNQ1kwyLOzb82cCnEiXoYtakc/yBLp1tWWydQc+cCQOviyOlA=; 24:Bm0af01Sb3ZwDdScg/Lfmo/kKrk/J1XFEHuY7vjf7ouaMdYFcOtTnx84AeIf0PX8SgPp8CLMi5+s/oDV0bR0DNHAg2qkE2FhES+sEhzej7g= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; AM4PR0202MB2770; 7:ci+EYpOALCR1DkEQfvLIzM4VICZdPYpAvvursXcfIIIIFshucYFZS99e1OEqWQ/1YzEOzwiTRG4TGMgfDPscXT7PMdcwSnw2fvBB9gjbUzf6huZpXqkvamuhZJb0b+e65L2LsQ09Dxdyxr1VDmIG7I8Ux/9qVd3LXh/3EmZkWfOKdKrwJaXVLE9HqCKXhc8RPKQwMaCCqvEK1Vq5JJzB0yyOrRrTb7PzAzkfLN1PZ8CgnMU1pptSlUgrmz0z99HH X-MS-Office365-Filtering-Correlation-Id: f3e841f0-4f20-41ad-9f37-08d5a0ba7d7b X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Apr 2018 21:15:16.6939 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f3e841f0-4f20-41ad-9f37-08d5a0ba7d7b X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4ee68585-03e1-4785-942a-df9c1871a234 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR0202MB2770 Cc: alsa-devel@alsa-project.org, Kuninori Morimoto , Liam Girdwood , Takashi Iwai , Mark Brown , Peter Rosin Subject: [alsa-devel] [PATCH v2 2/5] ASoC: tfa9879: fix whitespace issues caused by mindless conversion 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Long lines and bad alignment disturbs the reading pleasure. Signed-off-by: Peter Rosin --- sound/soc/codecs/tfa9879.c | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/sound/soc/codecs/tfa9879.c b/sound/soc/codecs/tfa9879.c index 6d213c6d3920..c30e0efdbe39 100644 --- a/sound/soc/codecs/tfa9879.c +++ b/sound/soc/codecs/tfa9879.c @@ -88,13 +88,14 @@ static int tfa9879_hw_params(struct snd_pcm_substream *substream, } if (tfa9879->lsb_justified) - snd_soc_component_update_bits(component, TFA9879_SERIAL_INTERFACE_1, - TFA9879_I2S_SET_MASK, - i2s_set << TFA9879_I2S_SET_SHIFT); + snd_soc_component_update_bits(component, + TFA9879_SERIAL_INTERFACE_1, + TFA9879_I2S_SET_MASK, + i2s_set << TFA9879_I2S_SET_SHIFT); snd_soc_component_update_bits(component, TFA9879_SERIAL_INTERFACE_1, - TFA9879_I2S_FS_MASK, - fs << TFA9879_I2S_FS_SHIFT); + TFA9879_I2S_FS_MASK, + fs << TFA9879_I2S_FS_SHIFT); return 0; } @@ -103,8 +104,8 @@ static int tfa9879_digital_mute(struct snd_soc_dai *dai, int mute) struct snd_soc_component *component = dai->component; snd_soc_component_update_bits(component, TFA9879_MISC_CONTROL, - TFA9879_S_MUTE_MASK, - !!mute << TFA9879_S_MUTE_SHIFT); + TFA9879_S_MUTE_MASK, + !!mute << TFA9879_S_MUTE_SHIFT); return 0; } @@ -152,11 +153,11 @@ static int tfa9879_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) } snd_soc_component_update_bits(component, TFA9879_SERIAL_INTERFACE_1, - TFA9879_SCK_POL_MASK, - sck_pol << TFA9879_SCK_POL_SHIFT); + TFA9879_SCK_POL_MASK, + sck_pol << TFA9879_SCK_POL_SHIFT); snd_soc_component_update_bits(component, TFA9879_SERIAL_INTERFACE_1, - TFA9879_I2S_SET_MASK, - i2s_set << TFA9879_I2S_SET_SHIFT); + TFA9879_I2S_SET_MASK, + i2s_set << TFA9879_I2S_SET_SHIFT); return 0; } @@ -298,7 +299,7 @@ static int tfa9879_i2c_probe(struct i2c_client *i2c, tfa9879_regs[i].reg, tfa9879_regs[i].def); return devm_snd_soc_register_component(&i2c->dev, &tfa9879_component, - &tfa9879_dai, 1); + &tfa9879_dai, 1); } static const struct i2c_device_id tfa9879_i2c_id[] = {