Message ID | 87tw1gxcx8.wl%kuninori.morimoto.gx@renesas.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <dri-devel-bounces@lists.freedesktop.org> 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 6A81860348 for <patchwork-dri-devel@patchwork.kernel.org>; Thu, 10 Aug 2017 10:26:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5B63228AAA for <patchwork-dri-devel@patchwork.kernel.org>; Thu, 10 Aug 2017 10:26:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5008928ADF; Thu, 10 Aug 2017 10:26:09 +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=-4.1 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 31AFF28AAA for <patchwork-dri-devel@patchwork.kernel.org>; Thu, 10 Aug 2017 10:26:08 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 175446E37D; Thu, 10 Aug 2017 10:26:05 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from relmlie1.idc.renesas.com (relmlor2.renesas.com [210.160.252.172]) by gabe.freedesktop.org (Postfix) with ESMTP id 5256E6E1E5 for <dri-devel@lists.freedesktop.org>; Thu, 10 Aug 2017 04:36:50 +0000 (UTC) Received: from unknown (HELO relmlir4.idc.renesas.com) ([10.200.68.154]) by relmlie1.idc.renesas.com with ESMTP; 10 Aug 2017 13:36:47 +0900 Received: from relmlii2.idc.renesas.com (relmlii2.idc.renesas.com [10.200.68.66]) by relmlir4.idc.renesas.com (Postfix) with ESMTP id 4C38E60227; Thu, 10 Aug 2017 13:36:47 +0900 (JST) X-IronPort-AV: E=Sophos;i="5.41,351,1498489200"; d="scan'208";a="254146267" Received: from mail-hk2apc01lp0216.outbound.protection.outlook.com (HELO APC01-HK2-obe.outbound.protection.outlook.com) ([65.55.88.216]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-SHA256; 10 Aug 2017 13:36:46 +0900 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesasgroup.onmicrosoft.com; s=selector1-renesas-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=WemyMkI65zPvNXi4Za0h/tUplaE7RvND+DVuoVTNiqk=; b=d5ciDFoec3rzBuULu651GWaB8mugeGA3PYtoyQIZeU9sS/Gc3n5D0LdnOsCTmdirD0Db48/Z+2vjPV42zzAbohDj8/ykhxnuodTxvraeADtQBnMBNrEZmXzqZJXeWFVsC9NOnPWl2skC+pntWKL8G9uXHnc+OHmTPPft2rJ4R0E= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=kuninori.morimoto.gx@renesas.com; Received: from morimoto-PC.renesas.com (211.11.155.138) by SG2PR0601MB1887.apcprd06.prod.outlook.com (2603:1096:3:9::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1320.16; Thu, 10 Aug 2017 04:36:43 +0000 Message-ID: <87tw1gxcx8.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Subject: [PATCH] drm/sun4i: use of_graph_get_remote_endpoint() User-Agent: Wanderlust/2.15.9 Emacs/24.3 Mule/6.0 To: Maxime Ripard <maxime.ripard@free-electrons.com>, David Airlie <airlied@linux.ie>, Chen-Yu Tsai <wens@csie.org> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Date: Thu, 10 Aug 2017 04:36:43 +0000 X-Originating-IP: [211.11.155.138] X-ClientProxiedBy: HK2PR02CA0209.apcprd02.prod.outlook.com (2603:1096:201:20::21) To SG2PR0601MB1887.apcprd06.prod.outlook.com (2603:1096:3:9::20) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ad76f34d-0b0c-428d-85dd-08d4dfa967be X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(48565401081)(300000503095)(300135400095)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:SG2PR0601MB1887; X-Microsoft-Exchange-Diagnostics: 1; SG2PR0601MB1887; 3:qNIzufS0Hcb9thEsFHcFS90uILqwmrUKDCRxMAMqiH8kJd2fnfLKrPYln2cSCCVeLGIjzV00+v9p5Xj6AxbKLitFmWko3q8eh2M1NRMUyKQbg/czxpKpq0AADJ8GGt5Ful63N166rVSEEMCtzD+5wGNYM5jb9ZPbTuxWzp0YuUJySmR/QKx6p2PnfzakhIb99GuLZfypYcJjEU6JOHEfT/pO66Z+/VznjUNXTmn+1rDmcarXLEw9IeqKuzVQ5lxC; 25:z8pRX8FE0jVm/LBdLdWnPxruvW8LBa/aqatL4USPX8rBVwk63Ad+3imevjeEDAlLqF5BO8P/pX0IqI3L9YoCOWPDYxKp4pIcJrhfk3DK1ee4iEnLJmEfrP2LNyyeEQ2DALnhO8yceBqCaRkWnPYiog3RugXcMgX/AUyr6Be4SWwQEX6iDTM48z3P1H6AFTRDbvpREMqq2/r5Di76SsfJfJEjV7Ao5Q4r71g/esQIBaimTUkKgLyxxfrsnxOQXl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do2GMptHwkELpOYK49IHH9cbhN9SdlLgj9kjHiyIVgIBsMTwXk4fM64eIsxe1hEbj52ezTWPl+XlBgWwxktGkzwzJkJzyuzl7v X-Exchange-Antispam-Report-Test: UriScan:; X-Microsoft-Antispam-PRVS: <SG2PR0601MB1887CB8078BAFD18A566196AD4880@SG2PR0601MB1887.apcprd06.prod.outlook.com> X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(93006095)(93001095)(100000703101)(100105400095)(10201501046)(6055026)(6041248)(20161123562025)(20161123564025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123560025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:SG2PR0601MB1887; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:SG2PR0601MB1887; X-Forefront-PRVS: 03950F25EC X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(7370300001)(6009001)(39450400003)(39840400002)(39410400002)(39860400002)(39850400002)(39400400002)(199003)(189002)(33646002)(106356001)(105586002)(47776003)(66066001)(83506001)(50986999)(69596002)(25786009)(478600001)(3846002)(6116002)(97736004)(189998001)(54356999)(50466002)(4001350100001)(305945005)(7736002)(38730400002)(36756003)(23726003)(68736007)(86362001)(53416004)(5660300001)(101416001)(7350300001)(2906002)(4326008)(81166006)(53936002)(81156014)(8676002)(6486002)(42186005)(16060500001); DIR:OUT; SFP:1102; SCL:1; SRVR:SG2PR0601MB1887; H:morimoto-PC.renesas.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: renesas.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SG2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8x1Wo35zkzYN3qEtwT6mwNHw8ITAAECN/Y3ZiT0EODw=; 7:6hvRARhNx9khsoTPKgM+bK2lQYYE91Mdvd30iCSKiiiE4/0gO/8iBxaGwhRDsGfkl4Y4l50hHsd3O18KYAXCemq7+G+RfXIjEpJW6SS0G/zKPHdfBa99hfe/PDhtKibEXDLPYUNsOsLGo2uuNrlJGKJhXOlJh8wTg4tNWBQDDK9pwGSJG/Q/Ys5RHsAsOGqiXQwyteiYpGVU8B4GSSaKtVtY7Xw7M2M8jJnhqbcqNJw= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; SG2PR0601MB1887; 20:J8GwQTbRu0NelYXrOvZ4gw8wLi/yd/Q8MfaaSUVU6d76oU0WOE0PcGVWvVEHE9NGC6PYHaGLfgCp+MPZdYqxsZtl848F3pffRTR7PVRluur+kJUOUl1RCIhvXOy56qMhXnF2/XM4+DJ1XzBVGcV6CUsyzdPNPIXu/Iajaa5+ydw= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Aug 2017 04:36:43.7370 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR0601MB1887 X-Mailman-Approved-At: Thu, 10 Aug 2017 10:26:03 +0000 Cc: linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> X-Virus-Scanned: ClamAV using ClamSMTP |
Hi, On Thu, Aug 10, 2017 at 04:36:43AM +0000, Kuninori Morimoto wrote: > > From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> > > Now, we can use of_graph_get_remote_endpoint(). Let's use it. > > Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Queued for 4.15, thanks! Maxime
diff --git a/drivers/gpu/drm/sun4i/sun4i_backend.c b/drivers/gpu/drm/sun4i/sun4i_backend.c index cf48021..ec59436 100644 --- a/drivers/gpu/drm/sun4i/sun4i_backend.c +++ b/drivers/gpu/drm/sun4i/sun4i_backend.c @@ -312,7 +312,7 @@ static int sun4i_backend_of_get_id(struct device_node *node) struct device_node *remote; u32 reg; - remote = of_parse_phandle(ep, "remote-endpoint", 0); + remote = of_graph_get_remote_endpoint(ep); if (!remote) continue;