Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1627959rdb; Tue, 20 Feb 2024 01:55:54 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUn0oIe2qmajMKRalqeIVqNUlLcixgaCSLeEuhPAeqEgCvx1llVrcfwOFqpZhOJgZtshfC83RhuVe1X8bfVE5Fjq3Zo9ZZbAynHdI9UWA== X-Google-Smtp-Source: AGHT+IFWfnfrtMNMm5F7JbYcMXY7QxhBQ58vFNDHJBXvLKvqXZGFz/eXBOo7htwlD5crjFDcAb/F X-Received: by 2002:a05:6a21:9206:b0:19e:be5c:b7c6 with SMTP id tl6-20020a056a21920600b0019ebe5cb7c6mr19792623pzb.45.1708422954279; Tue, 20 Feb 2024 01:55:54 -0800 (PST) Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id lv4-20020a1709032a8400b001da0fb6a655si5989193plb.92.2024.02.20.01.55.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 01:55:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-72715-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@wolfvision.net header.s=selector2 header.b=gNkBQ1sL; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-72715-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72715-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wolfvision.net Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 4BC08B23377 for ; Tue, 20 Feb 2024 09:42:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 677AB627F1; Tue, 20 Feb 2024 09:40:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=wolfvision.net header.i=@wolfvision.net header.b="gNkBQ1sL" Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2128.outbound.protection.outlook.com [40.107.21.128]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AC05264CC6; Tue, 20 Feb 2024 09:40:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.21.128 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708422015; cv=fail; b=sIv6mT/jqS3AcUkWtTHW7J5QS9NykbdCtodeE2uu0efGgu7WiQa7FzU6yfK/Oy8X15BYIXb3vSOzquS38PMWd1QOZsWFbuvELDMQsYqWopeC9IejhNPcDCiAGApdGdferwK3Iovgk3A1fEHmobANSiWkb5PSf0y4QS2QJUfbzxo= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708422015; c=relaxed/simple; bh=4RJRvkCsCoRYEJQReuPytGN3PtzSzXkIRPi3skDWcRI=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=QxY1k0KT9RpZ3BXiYHUdhNkkBYfqnY7xXDMtx37kd35XgkN3/CeqL0AuM7zqi0sPCgkFE9xcbEv2yg9+rsBY4XAxKyJcwj98aky0Sd77tfRN/5zMWtnuhE75km5/dcp7twcXABT8LOtKU6GxmjlUYjlVx67ZRY4SnMraHd+fWaw= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wolfvision.net; spf=pass smtp.mailfrom=wolfvision.net; dkim=pass (1024-bit key) header.d=wolfvision.net header.i=@wolfvision.net header.b=gNkBQ1sL; arc=fail smtp.client-ip=40.107.21.128 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wolfvision.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wolfvision.net 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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?B?Rkt3S0pGMFdPK1VCU0J4NjhGZTQrbisycTJJRkYya1U3bHVyamYvYlltbUdh?= =?utf-8?B?WG84ZUlYTkVWL2xraTFwQjZSVGcwR3VxSkw0NC9FNzBMWmZPTDAvNDZWTlY1?= =?utf-8?B?UEVSd0JGcmZYQjh1MnptaUNJcDFITDQ4SUNZeWhLNkdVRG5ESjI4NENEeXI4?= =?utf-8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UUhDS1Fk?= =?utf-8?B?VzlMRzkzOVAzTVJKcS9jTEYreG94UzNwRkJYWThhMUlsaWh3MGxzbVZSYXp3?= =?utf-8?B?endTWmZvOGRUNFlaQTdOdDYybUpBbTAxMVFMM1dlUXcyYWUvd28ydS9QZGJU?= =?utf-8?B?RFlHdDhNdHI2Tk1wdXM5aE5GOXRSdzgwakg5WmlqYnhnZ1NSYjVEWU44LzZ5?= =?utf-8?B?cVE9PQ==?= 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 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; -- 2.30.2