From patchwork Tue Feb 20 09:39:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Riesch X-Patchwork-Id: 13563801 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id BD7DDC54787 for ; Tue, 20 Feb 2024 09:41:02 +0000 (UTC) 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:Cc:To:In-Reply-To: References:Message-Id:Subject:Date:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=7H73TdLWxVElZuDj6fS4RufA46oWBj6o94XX5P17Ux0=; b=zM0UXSQGGv+MyqzulWTZgGPq4t uN7oSy+8e6Xw0vpS/6/zectdbfYSPHvleL/wAK10pX9abLiKtdvIr0kTy0y67/MOQMOqhWirwRbpA ZMoY30LEWg878BuxxN+i/0FxKaySbAU5zN8/b8OkZSgIGJ3poQ/Ur3uJca3FlggZ+K+vC327TrnU9 w15IB0PGWwhK0bmz8AuStV3xMorG6aco7nJCKJiLM8+EifuPjPsMS06MqZYSvGzB4g7XTqmpnp98T c8TtsUk/stHbtBkCZL1Hn2gCwnL8+BMUN9Q0rvfuXNCEIgr5eNrrb8HPesSHg+TCgpembCWwC8xoM tAFlz25g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rcMcL-0000000E2fp-2BSX; Tue, 20 Feb 2024 09:40:49 +0000 Received: from mail-he1eur04on20700.outbound.protection.outlook.com ([2a01:111:f403:260f::700] helo=EUR04-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rcMbp-0000000E230-2WeC; Tue, 20 Feb 2024 09:40:19 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jIfSDxBzLOWCBtbDe6766k+Lx1pzXO5DIoXPBtRN85z0Yd+yOpXsvS2NYIpJHkm6F+NCtoy+89VVf3L5edVxWh6gt/mUG6FXz/8IMmWcGC6vgGYQujpdPIbkQL1a0RReOBYUtawomBZalJow/9cjKMriaTedcODhU4F572VCfeRUdjORIEZVRW8TqzR4JSJw/X7t0dCJqFLSyzHlBlbDU49tOdKxuPsLAKtgg25HEtx2wWJ2ax81iQKPZW8hAXGtQmgI1QTYwVreS/DHGRQ40MVzlb/OrjZTU1eBZ7IvvHhNGVLK0xhYkU0sW9G7R4oxD9eXUOGVciz/nAVJxo3foA== 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:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=/b/scj7TDuFzyTgp2EBc4VrymUQdWCcY+njb3AuvFto=; b=H5+93IahsYnYUhNu1J8bNrydU6zVuNWXmfk8jZD0bjHrWORjZteoRLkqVn4BAJx9D/AOK2XRFEbO8gUcg7hLy25Ucsl/tpo5VwJ1doeLDd2dJLjpeP3HS3himhBcSMZGoQ9FkZYr4EA/8Wyb1WM5xIPwoKZquGwsl3OohjZGyic9j3Plq9hru0jFqkIJe0z74cQ6SVafQIf1GGCligrn8PrSYnNAj+4xqFYw/ePBvCVMklXGiNrkWhCSOs6n/CmlkGJ9f9bYS9lq9zX1EPxtfTe17wMByw9b2DEi3s1eIULkHYWI77epVI02ZHcUufsbeLXmmaHTAEvEDBqGRMA+Jg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wolfvision.net; dmarc=pass action=none header.from=wolfvision.net; dkim=pass header.d=wolfvision.net; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wolfvision.net; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/b/scj7TDuFzyTgp2EBc4VrymUQdWCcY+njb3AuvFto=; b=gNkBQ1sLVRkYTtYpV9rTWhcejoGydpnh/davBk3UN7nZNNkBTJ+jjeLXP+k/vzULqcJhvBw0YEQLVQ/u5/w/3w3xLZtXVvKH1jw6zGJwq4lDzw+Q1tkAr7N5gbYxf/ocLW8zxq8+7AxrAc+jxvZp9g8FZQhpz7KSI6cvYyMq+hM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=wolfvision.net; Received: from DU0PR08MB9155.eurprd08.prod.outlook.com (2603:10a6:10:416::5) by DB9PR08MB6763.eurprd08.prod.outlook.com (2603:10a6:10:2af::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.39; Tue, 20 Feb 2024 09:40:10 +0000 Received: from DU0PR08MB9155.eurprd08.prod.outlook.com ([fe80::7409:db60:8209:c9f4]) by DU0PR08MB9155.eurprd08.prod.outlook.com ([fe80::7409:db60:8209:c9f4%6]) with mapi id 15.20.7270.043; Tue, 20 Feb 2024 09:40:10 +0000 From: Michael Riesch Date: Tue, 20 Feb 2024 10:39:17 +0100 Subject: [PATCH 07/14] media: rockchip: cif: fix formatting of find_output_fmt Message-Id: <20240220-v6-8-topic-rk3568-vicap-v1-7-2680a1fa640b@wolfvision.net> References: <20240220-v6-8-topic-rk3568-vicap-v1-0-2680a1fa640b@wolfvision.net> In-Reply-To: <20240220-v6-8-topic-rk3568-vicap-v1-0-2680a1fa640b@wolfvision.net> To: Mehdi Djait , =?utf-8?q?Th=C3=A9o_Lebrun?= , Thomas Petazzoni , Laurent Pinchart , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Sakari Ailus Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, Michael Riesch X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1708421995; l=875; i=michael.riesch@wolfvision.net; s=20230803; h=from:subject:message-id; bh=4RJRvkCsCoRYEJQReuPytGN3PtzSzXkIRPi3skDWcRI=; b=tuK8T28ocU/S3zzvTdEb1nV7usNOYvL3eS7jNVu+V4rZuvU53nlAZTVqw+0Y27WifDdysyRs9 98znDCkKbs6Db+1OyJZjD7BEQp/qmiI/vG1qTWuAcfMXi2a0wzfZEx7 X-Developer-Key: i=michael.riesch@wolfvision.net; a=ed25519; pk=9ral3sulLe95bLcbaiNXTgUTRiBayRBEFZ5OVIEHp+0= X-ClientProxiedBy: VI1PR04CA0128.eurprd04.prod.outlook.com (2603:10a6:803:f0::26) To DU0PR08MB9155.eurprd08.prod.outlook.com (2603:10a6:10:416::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR08MB9155:EE_|DB9PR08MB6763:EE_ X-MS-Office365-Filtering-Correlation-Id: 574213ca-a78e-4c77-2658-08dc31f7ee25 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: PKFtCwlr+g7RugIQO7I8cBe9wOVNVkjA9ztT0Inbug2QDaCziwEp04l9au9fjM1xShl77BCWFRkdX69wQxyXI6H3DXcCAZ7XdO2riHg2g0ZlerfCUE0ocoMc/veJt960ORtCaEMmZI9emKXX94nfGXWak0OXpgQ5cUJRiiQcCWi3C0nn4N3rioEJsSlAXR+JbRb+gi5/tTwfJO6yM8Xg1z80oOzXMHZ+RVfmEzQhA2Cxj+CdspUesy2GnSN7e0KmeDddKik4m768rUS1tY1GuYPiYukLBQF2b/Pb146IT9OVRHfn/5+bbF6/uXQ16KhpzrHyhdItA0J/f8D3yUZjqRE29AmXO+MZ5rJH9SjOwHwVpib/2DEHl7bTxgkpiii+zswo7hwVlo3mvZUxGzopgg/UIFpatrdFdxOzrKwH90XVIhd0SyuCnJ37DpckGUAc2J2t2HX3wdDa8mHuSzmgDYgPWqat9gD8WLGzb8Cfha7A9DXiPFgE45Jguw5BKrPOjaOdSnmlN3AhnSkO/9WZoL5EtSWHSsTjsd0KWyZU+7KJ1zeRetg0QzWt5/Ot6pDePxKVvVBz+qvESHqirjTjG4CukBTg+qm5kDkRHRmt9rYXxkZKqQb86hFnVSSc4GfHEEybeSF4F0jvTnzPvgLa3g== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR08MB9155.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(921011)(38350700005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?FKwKJF0WO+UBSBx68Fe4+n+2q2IF?= =?utf-8?q?F2kU7lurjf/bYmmGaXo8eIXNEV/lki1pB6RTg0GuqJL44/E70LZfOL0/46VNV5PER?= =?utf-8?q?wBFrfXB8u2zmiCIp1HL48ICYyhK6GUDnDJ284CDyr8JPPcfTtlGoP090DbWilx3U3?= =?utf-8?q?L3sjMvbYpzAcz3YqHAmNUU5Vyvm78BT6XdRaQZADReh1NSqUfotndWkSHX9Jjow/o?= =?utf-8?q?BvbyDZYqIsoQTJUHfUk3f4wmIKuGpCTk0/N06MlWPeUqK0x7eypE18gbYH8ZWouwz?= =?utf-8?q?sw6JOmHtA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egjX5jjDJzLlcW6guC4b6UnfARY5JQfbxyisd45oR1gkBLl/HD+V6e0puf?= =?utf-8?q?cMNYosYx2nscclSHpzmw9y19f6UM6i3NJc1mrxDcAFv3iPtqD1qzzFec6Vxn91tEe?= =?utf-8?q?yTjsNnqrkWmWjoh6lKd/Kukxn6w6uOv3iwZqx/ze4g29JMbwloPrtNTGtSiow2zMf?= =?utf-8?q?Kq3u+sM5PIK7mlpaFJgqFhHLCkeUP26jyfu72F5UvFc6jMyblBafNBRp4n5FCF+bF?= =?utf-8?q?xo1cbUCkfzgkB5yswOXD+QHCKQdW9LG939P3MRJq/cLF+xoxS3pFBXY8a1Ilihw0l?= =?utf-8?q?smVRazwzwSZfo8dT4YZA7Nt62mJAm011QL3WeQw2ae/wo2u/PdbTDYGt8Mtr6NMpu?= =?utf-8?q?s9hNF9tRw80jH9ZijbxggSRb5DYN8/6yqQ=3D=3D?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: 574213ca-a78e-4c77-2658-08dc31f7ee25 X-MS-Exchange-CrossTenant-AuthSource: DU0PR08MB9155.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Feb 2024 09:40:10.2574 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e94ec9da-9183-471e-83b3-51baa8eb804f X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: DVmv5tx2iGPh9/TLxO6rPB1H8k5Zvgy71YvA75tqKHfAaLpIwLuvAYRekz48YlT4rQIE0U187FyTnvDhJiaQ3xGkg50carO27sdmSwYDkyQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR08MB6763 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240220_014017_730217_3034A6A2 X-CRM114-Status: UNSURE ( 9.43 ) X-CRM114-Notice: Please train this message. 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 Fix formatting according to coding conventions. No functional change. Signed-off-by: Michael Riesch --- drivers/media/platform/rockchip/cif/cif-capture.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/platform/rockchip/cif/cif-capture.c b/drivers/media/platform/rockchip/cif/cif-capture.c index 2c7716684de0..c80a52028a21 100644 --- a/drivers/media/platform/rockchip/cif/cif-capture.c +++ b/drivers/media/platform/rockchip/cif/cif-capture.c @@ -273,8 +273,8 @@ cif_input_fmt *get_input_fmt(struct v4l2_subdev *sd) return NULL; } -static struct -cif_output_fmt *find_output_fmt(struct cif_stream *stream, u32 pixelfmt) +static struct cif_output_fmt *find_output_fmt(struct cif_stream *stream, + u32 pixelfmt) { struct cif_output_fmt *fmt; u32 i;