From patchwork Mon Mar 25 07:13:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrzej Hajda X-Patchwork-Id: 10868047 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5255D17EE for ; Mon, 25 Mar 2019 07:14:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3953129246 for ; Mon, 25 Mar 2019 07:14:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2DD8D29259; Mon, 25 Mar 2019 07:14:05 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9484129246 for ; Mon, 25 Mar 2019 07:14:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729816AbfCYHOD (ORCPT ); Mon, 25 Mar 2019 03:14:03 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:41917 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729800AbfCYHOC (ORCPT ); Mon, 25 Mar 2019 03:14:02 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190325071402euoutp01fca04590714bfdbd9a096dbfd9c2abc1~PIj0QLYcw0709007090euoutp01p; Mon, 25 Mar 2019 07:14:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190325071402euoutp01fca04590714bfdbd9a096dbfd9c2abc1~PIj0QLYcw0709007090euoutp01p DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1553498042; bh=EDMDwUaiU6twXfERSDZPZXY/mOmWI2xG0PbTbogkuUA=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=ORqiSljgf8ROpzerJoJNG9aMi+7BQrzo5cq79/Urn5g53cYpJKJyX89uqHSAtCLTj rz9aSYIzySZRWyBlxiH6vloF8iffeVPkzuLWrBiyRNA9Vd2EtP+TsBlkywKAvoMNFu UM7BpttwhIxwzv6LZnFlsmE6Tv/sQofEy/LQzaSY= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190325071401eucas1p2e055ee5946d92c71e0c370b9fde36c10~PIjz5YktO0517305173eucas1p2d; Mon, 25 Mar 2019 07:14:01 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id C0.5E.04377.9BF789C5; Mon, 25 Mar 2019 07:14:01 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190325071401eucas1p1ddc56702c8ff146f0fd84277f3f84e08~PIjzSc93a1607116071eucas1p1q; Mon, 25 Mar 2019 07:14:01 +0000 (GMT) X-AuditID: cbfec7f4-113ff70000001119-de-5c987fb9cc59 Received: from eusync3.samsung.com ( [203.254.199.213]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 26.69.04146.9BF789C5; Mon, 25 Mar 2019 07:14:01 +0000 (GMT) Received: from AMDC3748.DIGITAL.local ([106.120.51.74]) by eusync3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0POW003QHUR43P00@eusync3.samsung.com>; Mon, 25 Mar 2019 07:14:01 +0000 (GMT) From: Andrzej Hajda To: Inki Dae Cc: Andrzej Hajda , Bartlomiej Zolnierkiewicz , Marek Szyprowski , dri-devel@lists.freedesktop.org, linux-samsung-soc@vger.kernel.org, Krzysztof Kozlowski Subject: [PATCH v3 RESEND 19/24] drm/exynos/gscaler: fix id assignement Date: Mon, 25 Mar 2019 08:13:44 +0100 Message-id: <20190325071349.22600-20-a.hajda@samsung.com> X-Mailer: git-send-email 2.17.1 In-reply-to: <20190325071349.22600-1-a.hajda@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprJIsWRmVeSWpSXmKPExsWy7djPc7o762fEGDyaJmtxa905VouNM9az Wlz5+p7NYtL9CSwW589vYLeYcX4fk8XaI3fZHdg9Nq3qZPO4332cyaNvyypGj8+b5AJYorhs UlJzMstSi/TtErgydj45zVywhLVi75SXbA2Me1m6GDk5JARMJObu/8/YxcjFISSwglFizqLj TBDOZ0aJi5/Ws8NUXT/wFapqGaPEvZXf2CCc/4wSW3ceBqtiE9CU+Lv5JhuILSKgLLFqXzs7 SBGzwG9GienLt4EVCQu4S2zcvpQJxGYRUJV4v/c4WAOvgKXE+zvboY6Sl1i94QAziM0JFP9/ +hIzyCAJgb+sEo93vwJq5gByXCTm3GWGqJeR6Ow4yARh10vcX9ECVd8BdN2GnVBF1hKHj19k BbGZBfgkJm2bzgwxh1eio00IosRDYs3aZ8wQn/UwSnzedpd9AqPEAkaGVYziqaXFuempxUZ5 qeV6xYm5xaV56XrJ+bmbGIERdvrf8S87GHf9STrEKMDBqMTD67BneowQa2JZcWXuIUYJDmYl Ed4nojNihHhTEiurUovy44tKc1KLDzFKc7AoifNWMzyIFhJITyxJzU5NLUgtgskycXBKNTB6 f7e2M3961TTqRl/CYfU1j2ukFyrNDAwQmKGcZMf8zULpgulf904vT6nkFw9Pb/m5d+JkluU1 67kSXOpVBI8qvmi64p+duOTNw8WRTY+ufUp1nyX4fneMZV/jHiVP49bnjiUmscV//9iVnfhl KlOlvjn0cKVXzc2sR5dfJK3XLvz/ZGvmmQwlluKMREMt5qLiRADuKgtrrAIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpiluLIzCtJLcpLzFFi42I5/e/4Vd2d9TNiDKacY7G4te4cq8XGGetZ La58fc9mMen+BBaL8+c3sFvMOL+PyWLtkbvsDuwem1Z1snnc7z7O5NG3ZRWjx+dNcgEsUVw2 Kak5mWWpRfp2CVwZO5+cZi5Ywlqxd8pLtgbGvSxdjJwcEgImEtcPfGXsYuTiEBJYwijx8dxm sISQQCOTxLMF4SA2m4CmxN/NN9lAbBEBZYlV+9rZQRqYBX4zSnye8ZUZJCEs4C6xcftSJhCb RUBV4v3e42ANvAKWEu/vbIfaJi+xesMBsHpOoPj/05eYIZZZSOxd1sg+gZFnASPDKkaR1NLi 3PTcYkO94sTc4tK8dL3k/NxNjMCQ2Xbs5+YdjJc2Bh9iFOBgVOLhddgzPUaINbGsuDL3EKME B7OSCO8T0RkxQrwpiZVVqUX58UWlOanFhxilOViUxHnPG1RGCQmkJ5akZqemFqQWwWSZODil GhgjvhlMPH1K4qLc9RJFlbxk4YtJKvxrv3ad2fGbkXPe54Pzd1RdX1D2bm+20Slj1jtVkSx7 FKdOWbxaOsgtveJuz9GFWzPEX+x9s3KTj/LRwriIkKdxLdnRPeXtrOcSvzmcmupc5JWpvfdN VXicbqB5/kLDtErL5RJH5rnM119nVqscyRK2J0eJpTgj0VCLuag4EQAYFt31FQIAAA== X-CMS-MailID: 20190325071401eucas1p1ddc56702c8ff146f0fd84277f3f84e08 CMS-TYPE: 201P X-CMS-RootMailID: 20190325071401eucas1p1ddc56702c8ff146f0fd84277f3f84e08 References: <20190325071349.22600-1-a.hajda@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Id should be assigned based on OF alias. Signed-off-by: Andrzej Hajda --- drivers/gpu/drm/exynos/exynos_drm_gsc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_gsc.c b/drivers/gpu/drm/exynos/exynos_drm_gsc.c index f048d97fe9e2..8d5aa70c8ab8 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_gsc.c +++ b/drivers/gpu/drm/exynos/exynos_drm_gsc.c @@ -1287,7 +1287,7 @@ static int gsc_probe(struct platform_device *pdev) } /* context initailization */ - ctx->id = pdev->id; + ctx->id = of_alias_get_id(dev->of_node, "gsc"); platform_set_drvdata(pdev, ctx);