Message ID | 87zfp0ovey.wl-kuninori.morimoto.gx@renesas.com |
---|---|
State | Superseded |
Headers | show
Received: from OS0P286CU011.outbound.protection.outlook.com (mail-japanwestazon11010055.outbound.protection.outlook.com [52.101.228.55]) (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 749F4D530; Mon, 26 Aug 2024 02:44:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.228.55 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724640250; cv=fail; b=A70+F5OtTPIq8vd1fZtEOIjx0riKBY4r6TXxJakECmGlnC3r7Tj49JgRQQgMv3kuTRRaI3VkTe/mHEAX4fIdCALK/7gw5D0KGcXO4OO912FX66k0pe2lBFZPic4VXwlVvtL778HgKt6GSrsElWwsnXU8lHtTc8t7CFDuME54eM4= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724640250; c=relaxed/simple; bh=2cjcVZYxvLuvd2a4aNRw8Q8tOsacDkaZ3tEOo4bkYwc=; h=Message-ID:From:Subject:To:In-Reply-To:References:Content-Type: Date:MIME-Version; b=b4+KpCe5j14zr72iO3+vf46RW2r9X1V+Ul3BjXdb8F+wdDUBmUjsbRO+l7GV0Tq/eTjqsRVuprctG7INlcjTmO1P/Yd29XcXiUotHQBXZMRxdyLs/WFdxrO1BAhGtc0NgSndxnb8oowmE8JSaMfdurHkd8Djb+/NCOLOl5MjMzI= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com; spf=pass smtp.mailfrom=renesas.com; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b=lYtKFm5R; arc=fail smtp.client-ip=52.101.228.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=renesas.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b="lYtKFm5R" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Ut4WifaeN1l0TFDqJuRKi7GoRaHhj4ZjdZXwJHMpsZzPhUpzbrp5wCpl3CW3yNyFn4vmexbyRbVJT4B4cKVVZpvzoSbEFuIkmf/IQfIxNBE8zI71sUlBDBK7LC53j+DsI1v3rbTynWoRxnyGNdSX8GrvCc7VuXltb3oY/PqMpkjapWyaBQgzUbT4j0N+7ybEDMPJgdKe/FrFfE9ADOUExBXpqbZ1mlbaYWQbUZqTJMeDNqOlh7ncuLV2k9ETBDNIoNVv7P3KhnZiROUM1X3BVhcBMO1H26xeHQ8CnRNVXIqbhTXvXcizQHwexXHphSEQFL8gpYBY0Uwe/26Dq1Nk2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=GqzIohYp5afmfF86fzJ9cHhouXOQhdLWAIzB1UwkvGw=; b=eKwI4th+l/lpo1WoDYAMFmw2IB7UCgS83JA7JRFyV0zrVD1cvzM3XlUqHR9whAGFKbh2ce2mHAVl0WrdbiQpO+d35BMN+Zr1oq92UTJ+HOAtWvo90jEz9yAgaWD1X/zXwX9tDv1qZ+4AaqiyMf2tXWmuOt3FYSghPRzoIVZn90z2InxpleRxuuFK/bx4ib+zd06uome0KyqdMLt3y4hREN98cwfzW/d2oBhx0Qb8m6ar8k6pqK+CQNARymAkMZMK9zPwsjlIBezcuPbDI4GG9rOTFmnzNG9hbccsMyza/bBrzKDNtnKKzPYhLN8C65qQ/ES0yM2K+QLbhSdWaXBHyw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=renesas.com; dmarc=pass action=none header.from=renesas.com; dkim=pass header.d=renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GqzIohYp5afmfF86fzJ9cHhouXOQhdLWAIzB1UwkvGw=; b=lYtKFm5Rp4ls4JS6AOvO93hSE4gW+k6AjabqVAg+z/l6lY7AWw1RGocUpdjWcUfpd6m3kuL6atqWkjNgnXl2Mwheousjt6Q43uXVj06kdYD3mDRgcJ/3idj3GB9AcZWl3pQ/1fxFpMen6iE2M/OFytCtTuDsrn07Fj3tXx19LEw= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) by TYCPR01MB11547.jpnprd01.prod.outlook.com (2603:1096:400:389::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.24; Mon, 26 Aug 2024 02:44:05 +0000 Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11]) by TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11%5]) with mapi id 15.20.7875.016; Mon, 26 Aug 2024 02:44:05 +0000 Message-ID: <87zfp0ovey.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Subject: [PATCH v3 9/9] media: xilinx-tpg: use new of_graph functions User-Agent: Wanderlust/2.15.9 Emacs/29.3 Mule/6.0 To: Daniel Vetter <daniel@ffwll.ch>, David Airlie <airlied@gmail.com>, Helge Deller <deller@gmx.de>, Jaroslav Kysela <perex@perex.cz>, Laurent Pinchart <laurent.pinchart@ideasonboard.com>, Liam Girdwood <lgirdwood@gmail.com>, Maarten Lankhorst <maarten.lankhorst@linux.intel.com>, Mark Brown <broonie@kernel.org>, Mauro Carvalho Chehab <mchehab@kernel.org>, Maxime Ripard <mripard@kernel.org>, Michal Simek <michal.simek@amd.com>, Rob Herring <robh@kernel.org>, Saravana Kannan <saravanak@google.com>, Takashi Iwai <tiwai@suse.com>, Thomas Zimmermann <tzimmermann@suse.de>, Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-fbdev@vger.kernel.org, linux-media@vger.kernel.org, linux-omap@vger.kernel.org, linux-sound@vger.kernel.org, Sakari Ailus <sakari.ailus@iki.fi> In-Reply-To: <87cylwqa12.wl-kuninori.morimoto.gx@renesas.com> References: <87cylwqa12.wl-kuninori.morimoto.gx@renesas.com> Content-Type: text/plain; charset=US-ASCII Date: Mon, 26 Aug 2024 02:44:05 +0000 X-ClientProxiedBy: TYCP286CA0273.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:3c9::12) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) Precedence: bulk X-Mailing-List: linux-omap@vger.kernel.org List-Id: <linux-omap.vger.kernel.org> List-Subscribe: <mailto:linux-omap+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-omap+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|TYCPR01MB11547:EE_ X-MS-Office365-Filtering-Correlation-Id: 98976b5c-1567-4512-27d2-08dcc578f3d6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|366016|1800799024|7416014|376014|921020|38350700014; X-Microsoft-Antispam-Message-Info: PHHCG6H1+ydFZKdrYZ7rDoqBNFr4r/9YUqYWdxWghmt5HiXGRA46l+N8uktzi35cmAr1TpW51qJEOgpUwqlX+mq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JEL3zy8fs9kevJo9rPVINBN4AjoDm6kGBdDtL7jSiy1/FEIas8LLour2Cg54lipRnGZmiy0X27zC8xt+bsgELC+0SSuQ7BQy3fn1j/SvJaD+POgArzN+hv8sHlvHlgMSHF7VomtbGGvp2k/WenOlQHEZ5fjBOSf0tTILoMW3CNDasTb2ytpm5SBFRIi6ik+wBR4uo9N8py44Dikf5be05n/cUaetqSxTWC/n5VwlUdp+WOetP6dY2Ga6/7D6Ebcg0= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TYCPR01MB10914.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(52116014)(366016)(1800799024)(7416014)(376014)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 6RTbZkl5OV6Y9vOpvLJ9zB6+RNQKdhN6snrnS4Af5JLOtRF4MGJ/TeJ7WQcxM52hKQGLsIByl3CS4LI1Mu7VNsLbULb2Ndkf9T0xUNKwdGnbTV81P2vbEd7ZM0fpkepTiDZWMaYYKfORzox/e9hTO7f1wKx5pBkQFJKWcDLz2hxDj/SfPouiodNyrVkaf1STeBnGcjKnrCBRD29PLHKQEKRFhONnAA4MgclZJaLX1f4WVipcQaXYmxYORU+vTa79ReON6e+z9BNIyGicVbAYECkxdJkTzKoRaYVnZufwDidDgw/Kh630KqCSntm6e8vCd/GQOryy3asWWMqrl8xuuMAWgt6QCvk1auyAj/7Gu5wrVaJunauSKIb2f/fVypZFR9FL3V+SYKqz5DwqwmKuahMrMagAY44tuF1qfchk2ntDmB4hnribySi7CzUERNQONbQBHwroRYTTASjA3GkkC9rsksaSbdK7D+FdHmqdXu+0aT9zinIs2P0gBhUYN8P/0XF3O2E2Z2gMEONfO0id+N9SMLG8eROcIhQ63qsioIF3A2V7REy74YD8+uQ2dpJ3aNBUvrMm/wiPC0AJv+gis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-MS-Exchange-CrossTenant-Network-Message-Id: 98976b5c-1567-4512-27d2-08dcc578f3d6 X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Aug 2024 02:44:05.8099 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: oIianSfrJUIIpMvBdi6wPsUEkLjAEwhPf+CeetIGa796xzNJggopgQMTqBxfxDQelrbnACXZ59TNRuUYPMyfDmxXnZm0ytORhH3TxXaFvk/d8ZWBzHNVzWEKvq9SxZCz X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCPR01MB11547 |
Series |
of: property: add of_graph_get_next_port/port_endpoint()
|
expand
|
diff --git a/drivers/media/platform/xilinx/xilinx-tpg.c b/drivers/media/platform/xilinx/xilinx-tpg.c index e05e528ffc6f7..a25f216b2513c 100644 --- a/drivers/media/platform/xilinx/xilinx-tpg.c +++ b/drivers/media/platform/xilinx/xilinx-tpg.c @@ -13,6 +13,7 @@ #include <linux/gpio/consumer.h> #include <linux/module.h> #include <linux/of.h> +#include <linux/of_graph.h> #include <linux/platform_device.h> #include <linux/xilinx-v4l2-controls.h> @@ -744,7 +745,7 @@ static int xtpg_parse_of(struct xtpg_device *xtpg) } if (nports == 0) { - endpoint = of_get_next_child(port, NULL); + endpoint = of_graph_get_next_port_endpoint(port, NULL); if (endpoint) has_endpoint = true; of_node_put(endpoint);