Message ID | 1377845974-28373-6-git-send-email-rahul.sharma@samsung.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org> X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 69753C0AB5 for <patchwork-dri-devel@patchwork.kernel.org>; Sun, 1 Sep 2013 15:56:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 96360202C1 for <patchwork-dri-devel@patchwork.kernel.org>; Sun, 1 Sep 2013 15:56:48 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 5596420295 for <patchwork-dri-devel@patchwork.kernel.org>; Sun, 1 Sep 2013 15:56:47 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5C621E6683 for <patchwork-dri-devel@patchwork.kernel.org>; Sun, 1 Sep 2013 08:56:47 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) by gabe.freedesktop.org (Postfix) with ESMTP id 6ECC7E7B21 for <dri-devel@lists.freedesktop.org>; Thu, 29 Aug 2013 23:37:56 -0700 (PDT) Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MSB00L6MZQWWZP0@mailout1.samsung.com> for dri-devel@lists.freedesktop.org; Fri, 30 Aug 2013 15:37:55 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.126]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id C6.06.22755.3CD30225; Fri, 30 Aug 2013 15:37:55 +0900 (KST) X-AuditID: cbfee68f-b7f656d0000058e3-a9-52203dc366a7 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 43.2A.09055.3CD30225; Fri, 30 Aug 2013 15:37:55 +0900 (KST) Received: from chromeserver-PowerEdge-T410.sisodomain.com ([107.108.73.106]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MSB00I0NZQPRKZ0@mmp1.samsung.com>; Fri, 30 Aug 2013 15:37:55 +0900 (KST) From: Rahul Sharma <rahul.sharma@samsung.com> To: linux-samsung-soc@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: [PATCH 5/7] exynos/drm: fix ddc i2c device probe failure Date: Fri, 30 Aug 2013 12:29:32 +0530 Message-id: <1377845974-28373-6-git-send-email-rahul.sharma@samsung.com> X-Mailer: git-send-email 1.7.10.4 In-reply-to: <1377845974-28373-1-git-send-email-rahul.sharma@samsung.com> References: <1377845974-28373-1-git-send-email-rahul.sharma@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprIIsWRmVeSWpSXmKPExsWyRsSkTvewrUKQwYePihZXvr5ns5h0fwKL xfddX9gtehdcZbN4MPcmk8WM8/uYLBa+iLeYsugwq8XhN+2sFnc3nGW0mDH5JZvFql1/GB14 PGY3XGTx2DnrLrvH/e7jTB79fw08+rasYvT4vEkugC2KyyYlNSezLLVI3y6BK+Pyv07WglPs Fbs7etkbGCeydTFyckgImEhsXzefFcIWk7hwbz1QnItDSGApo8SNQ+dZYYoeXH3JApFYxChx d9UqJpCEkMBsJol5e21AbDYBXYnZB58xdjFycIgIuEnM+s8KUs8s8IdR4sjHJewgNcICjhL3 lywAs1kEVCW+Xd0EVs8r4CHx7WUdxC5Fie5nE8CO4xTwlHi98QUrxCoPif4Vs8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Tc1NrU0sTAxsyRNWEmc90CrdaCQQHpiSWp2ampBahHMFiYOTqkGxsUtrE8FmJ521FWZsJYt /PxN4ampyuwJdfV5q/1KWx4LRc/XeBS1t0zNU2hCVtqVuKpFQVdzN5w0/Sx7aH3sr5bZHqkM WpOnr7hXtEp4y/slCz/05zz4//mF3M9Dy4MrFr1snqt/fomw4fL8/9/MUxzPlnOtXaL/3MDh R6K7h4c176ypb12y7iuxFGckGmoxFxUnAgDn1MzKAQMAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-Mailman-Approved-At: Sun, 01 Sep 2013 08:49:09 -0700 Cc: kgene.kim@samsung.com, sw0312.kim@samsung.com, joshi@samsung.com, s.nawrocki@samsung.com, Rahul Sharma <rahul.sharma@samsung.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <http://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <http://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: <http://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/gpu/drm/exynos/exynos_ddc.c b/drivers/gpu/drm/exynos/exynos_ddc.c index 6a8c84e..54ead55 100644 --- a/drivers/gpu/drm/exynos/exynos_ddc.c +++ b/drivers/gpu/drm/exynos/exynos_ddc.c @@ -51,12 +51,17 @@ static struct of_device_id hdmiddc_match_types[] = { } }; +static struct i2c_device_id ddc_idtable[] = { + { }, +}; + struct i2c_driver ddc_driver = { .driver = { .name = "exynos-hdmiddc", .owner = THIS_MODULE, .of_match_table = hdmiddc_match_types, }, + .id_table = ddc_idtable, .probe = s5p_ddc_probe, .remove = s5p_ddc_remove, .command = NULL,
Exynos hdmi ddc is a I2C device and if we register hdmi ddc driver with id_table as NULL, cause failure in probing. id_table field should not be NULL for i2c_driver registeration. Signed-off-by: Rahul Sharma <rahul.sharma@samsung.com> --- drivers/gpu/drm/exynos/exynos_ddc.c | 5 +++++ 1 file changed, 5 insertions(+)