From patchwork Tue Sep 28 15:18:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Flavio Suligoi X-Patchwork-Id: 12523099 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A84D2C433F5 for ; Tue, 28 Sep 2021 15:21:40 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 74D306108F for ; Tue, 28 Sep 2021 15:21:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 74D306108F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=asem.it Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=PQxdkGWZKJMzvG7MmEAvsl0eKyqFpUHDw3TRjhO39UE=; b=t9Ag9Ig59F176G HIc4/IDc932niXBX6V8isz/0I6lRt6h0OjSTu7Hgi+D0goEJCeeuGIa7tac+1puE8LM4ppTrw/mnl bsQmv8i+8C06FkTBPD93wHwxGk8zgjeTciS+SFTMV1hoDXRmWhTOuwdTp/beuFHYhtuvVYnsbz2WF CRRYa3C8mHW/Rh3SHVqRLQRcqh8MYVKPoCookA/KvjyWQ5pTzI4UdCf1OqmyYElNDdXY4CeS5XhP0 PoKYKTlNJGhFsiEXkEcHAViytXQMsvPbyX1k6BUJI/euSd++hVdUBrnTMw2EUwi5EVXZBvACF8KFd t46bSzSxjyE7z4lRdUdA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mVEtS-007jyl-9F; Tue, 28 Sep 2021 15:19:42 +0000 Received: from mail-eopbgr50083.outbound.protection.outlook.com ([40.107.5.83] helo=EUR03-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mVEsm-007jpB-I7 for linux-arm-kernel@lists.infradead.org; Tue, 28 Sep 2021 15:19:02 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BfEi6D9xbnIQvW75iYeGraumCmqrbgVdgPX+ZWxMNoodvP6N+chvijeXSseRYocN9CaoSWV0xRk/fM8Yc5g+SfwsLsK6TnrDzZsoawofh/ztW9corgxKE4/H/hM6aG5zzxo8bX0ul6e3Z/WNlhq3MKq9o1H91VCUhuCLQEKGZzWr9b92A+Ek276Kn8Cu7Kf+sIvN24+lXkCP4zu3awxOxrmeomPZUbNamRzxQYiVW4ZGHtsKcl3qhnbXqsSTM877mIAjXeSbdKTKYby5d/hO1uYz1UPcyvtjoUFhV6cZVZYs0w6k4LQoE4ksvtsROey8+tqB7copJTbxz3nJoU2S5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=g0YYPJu6k4nLFfF0Qw5mV8lnqTq7o+IquhdNTnDx150=; b=irC8MAqw8KwSno+pB0X8kl9wFkdPYm5lBGu/SPYaFLyQANY0Qq+hleFbd423qhfQujuDceTu+YVdWpZK5CBSHAt5/qYAIVL9Qt2UcI+18in9Ks/bQadmZwCSzahNqt7PVDfZgoQANngE0cx42ypQfs/kCgZ9O7FK6msEYCvhF9zelNZVKHv/PAk8lz4y5J2Gm4U6PowBqvFmq/SWPMzSAw1kWkjPptk0QKwIsXquHQjTAmUOLbkKFHWOZEKKmOyOGM7230Eo/UIbCK7FU6fcqJfG481pmxNsXtaSZ0UiWf0qytIxq1SevxAGkfxWr0MaCiKqfFaXbPSm7W+JK6Wyvg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=permerror (sender ip is 151.1.184.193) smtp.rcpttodomain=lists.infradead.org smtp.mailfrom=asem.it; dmarc=fail (p=none sp=none pct=100) action=none header.from=asem.it; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=asem.it; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=g0YYPJu6k4nLFfF0Qw5mV8lnqTq7o+IquhdNTnDx150=; b=O0ls0hLcxjXPUFzegLOnaHycbQvG6ecSUhhzuX2n6i83k3QY98vwXkKE4TLGr1XWFM5gS2WQwsAXQe4C+RgYC2v0nfMJIZrgLPuMQm76gdPUAlfLr/L89qUc452qpg7Oh2RebUUAoynUolfOTQPN5U0y0WT04v3JgQdaA/DZSpE= Received: from AM5PR0502CA0017.eurprd05.prod.outlook.com (2603:10a6:203:91::27) by PA4PR01MB7790.eurprd01.prod.exchangelabs.com (2603:10a6:102:c6::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.14; Tue, 28 Sep 2021 15:18:53 +0000 Received: from VE1EUR01FT046.eop-EUR01.prod.protection.outlook.com (2603:10a6:203:91:cafe::57) by AM5PR0502CA0017.outlook.office365.com (2603:10a6:203:91::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.15 via Frontend Transport; Tue, 28 Sep 2021 15:18:53 +0000 X-MS-Exchange-Authentication-Results: spf=permerror (sender IP is 151.1.184.193) smtp.mailfrom=asem.it; lists.infradead.org; dkim=none (message not signed) header.d=none;lists.infradead.org; dmarc=fail action=none header.from=asem.it; Received-SPF: PermError (protection.outlook.com: domain of asem.it used an invalid SPF mechanism) Received: from asas054.asem.intra (151.1.184.193) by VE1EUR01FT046.mail.protection.outlook.com (10.152.3.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.13 via Frontend Transport; Tue, 28 Sep 2021 15:18:53 +0000 Received: from flavio-x.asem.intra ([172.16.17.208]) by asas054.asem.intra with Microsoft SMTPSVC(10.0.14393.0); Tue, 28 Sep 2021 17:18:51 +0200 From: Flavio Suligoi To: Vinod Koul , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Pengutronix Kernel Team , NXP Linux Team , dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Flavio Suligoi Subject: [PATCH 3/4] dmaengine: imx-sdma: align statement to open parenthesis Date: Tue, 28 Sep 2021 17:18:32 +0200 Message-Id: <20210928151833.589843-3-f.suligoi@asem.it> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210928151833.589843-1-f.suligoi@asem.it> References: <20210928151833.589843-1-f.suligoi@asem.it> MIME-Version: 1.0 X-OriginalArrivalTime: 28 Sep 2021 15:18:51.0001 (UTC) FILETIME=[24612690:01D7B47C] X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4a1f31d9-6653-46a6-46be-08d98293482a X-MS-TrafficTypeDiagnostic: PA4PR01MB7790: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2958; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: t5TedXckDSvdFWdJdJHXWyvSUAUNtfxDi+rPXUJmiHAe52bZb/vSGQXjJJuuPFvxJlTon+dsRShGLSse3R17BpxsX1fhOdvveX6WgzO6P2bJPE+Aw0OuwX+LdYkZMe5SiXxB4jauCVJvhla0fBdrNyxJeFVObnpO7YyhqfcszMvBMCWScuw7ARBAMG4aWP96MT6JD2YcW5McBQW1zelV/AzwKouTygLetS9ciCZaJlA8t3z7jOlAgf+4xsj/VhZJR7v+rs2Rx3CeOCFECiVVRXgBI+gi4Nc39F7iGkGZA4vOuglN9BuZF+BulxLmlpJhsgq4kTMcejWOrCe8RIxvOddNrmvSFXfSBkciiJkjyoZ/nNFjuk2AOmSVE3joaYdrHxlBEAJInuavfauR2uyxABIDfvm86jyT3fX0NGQeNoUy79ogM/gfhkD0aI6wmnYpviCUdimf/i6GpgOxnQm5xFdq+9n8k7+o0OaScAO+ZPyrWNLQq8rJDHddDVE+EXBPcOEMVxsEp4tRSLnNJKKpopx3c6bBvP71TDrM21vLtJQb8PKoL7gN9ynlOYVWhVrE6cbYJXh0KKZvM/UB4bt+Qloftk3Qp9T7s2Q+Mu6KXZxZGpyWDEuG040/fv2cXfDuKx65ct67T+a8bH+3TyeyPr9RsZ5J5Eykynt0SG6hfVzXPWAWQ/74YssCu7WEAdssJJQwV0TloA5jdP4I0jHsjAYwaPWMe6Lp/Fc8FAGrqz4= X-Forefront-Antispam-Report: CIP:151.1.184.193; CTRY:IT; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:asas054.asem.intra; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(46966006)(36840700001)(356005)(36860700001)(316002)(110136005)(83380400001)(47076005)(508600001)(54906003)(70206006)(6666004)(70586007)(81166007)(107886003)(2616005)(26005)(4326008)(186003)(5660300002)(1076003)(8936002)(2906002)(336012)(8676002)(82310400003)(86362001)(36756003)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: asem.it X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Sep 2021 15:18:53.1119 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4a1f31d9-6653-46a6-46be-08d98293482a X-MS-Exchange-CrossTenant-Id: d0a766c6-7992-4344-a4a2-a467a7bb1ed2 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=d0a766c6-7992-4344-a4a2-a467a7bb1ed2; Ip=[151.1.184.193]; Helo=[asas054.asem.intra] X-MS-Exchange-CrossTenant-AuthSource: VE1EUR01FT046.eop-EUR01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR01MB7790 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210928_081900_624101_5F0557E8 X-CRM114-Status: GOOD ( 11.88 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Alignment should match open parenthesis. Signed-off-by: Flavio Suligoi --- drivers/dma/imx-sdma.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c index 726076683400..7b3bd3608651 100644 --- a/drivers/dma/imx-sdma.c +++ b/drivers/dma/imx-sdma.c @@ -1241,7 +1241,7 @@ static int sdma_config_channel(struct dma_chan *chan) } static int sdma_set_channel_priority(struct sdma_channel *sdmac, - unsigned int priority) + unsigned int priority) { struct sdma_engine *sdma = sdmac->sdma; int channel = sdmac->channel; @@ -1261,7 +1261,7 @@ static int sdma_request_channel0(struct sdma_engine *sdma) int ret = -EBUSY; sdma->bd0 = dma_alloc_coherent(sdma->dev, PAGE_SIZE, &sdma->bd0_phys, - GFP_NOWAIT); + GFP_NOWAIT); if (!sdma->bd0) { ret = -ENOMEM; goto out; @@ -1284,7 +1284,7 @@ static int sdma_alloc_bd(struct sdma_desc *desc) int ret = 0; desc->bd = dma_alloc_coherent(desc->sdmac->sdma->dev, bd_size, - &desc->bd_phys, GFP_NOWAIT); + &desc->bd_phys, GFP_NOWAIT); if (!desc->bd) { ret = -ENOMEM; goto out; @@ -1757,7 +1757,7 @@ static void sdma_issue_pending(struct dma_chan *chan) #define SDMA_SCRIPT_ADDRS_ARRAY_SIZE_V4 46 static void sdma_add_scripts(struct sdma_engine *sdma, - const struct sdma_script_start_addrs *addr) + const struct sdma_script_start_addrs *addr) { s32 *addr_arr = (u32 *)addr; s32 *saddr_arr = (u32 *)sdma->script_addrs; @@ -1840,8 +1840,8 @@ static void sdma_load_firmware(const struct firmware *fw, void *context) clk_enable(sdma->clk_ahb); /* download the RAM image for SDMA */ sdma_load_script(sdma, ram_code, - header->ram_code_size, - addr->ram_code_start_addr); + header->ram_code_size, + addr->ram_code_start_addr); clk_disable(sdma->clk_ipg); clk_disable(sdma->clk_ahb); @@ -1850,8 +1850,8 @@ static void sdma_load_firmware(const struct firmware *fw, void *context) sdma->fw_loaded = true; dev_info(sdma->dev, "loaded firmware %d.%d\n", - header->version_major, - header->version_minor); + header->version_major, + header->version_minor); err_firmware: release_firmware(fw);