From patchwork Tue Oct 22 10:11:06 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rahul Sharma X-Patchwork-Id: 3081851 Return-Path: X-Original-To: patchwork-linux-arm@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 EB705BF924 for ; Tue, 22 Oct 2013 10:16:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5D793201FE for ; Tue, 22 Oct 2013 10:16:55 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9EA55201D3 for ; Tue, 22 Oct 2013 10:16:50 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VYYeh-0001xN-2A; Tue, 22 Oct 2013 09:53:40 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VYYds-00073f-43; Tue, 22 Oct 2013 09:52:48 +0000 Received: from mailout1.samsung.com ([203.254.224.24]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VYYd0-0006wV-CF for linux-arm-kernel@lists.infradead.org; Tue, 22 Oct 2013 09:51:55 +0000 Received: from epcpsbgr4.samsung.com (u144.gpu120.samsung.co.kr [203.254.230.144]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MV2003I3DZWTOZ0@mailout1.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 22 Oct 2013 18:50:59 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.123]) by epcpsbgr4.samsung.com (EPCPMTA) with SMTP id 9C.13.07242.E7A46625; Tue, 22 Oct 2013 18:50:54 +0900 (KST) X-AuditID: cbfee690-b7f3d6d000001c4a-da-52664a7e1968 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 11.2F.09687.E7A46625; Tue, 22 Oct 2013 18:50:54 +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 <0MV2003SXE0AWV00@mmp1.samsung.com>; Tue, 22 Oct 2013 18:50:54 +0900 (KST) From: Rahul Sharma To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: [PATCH v2 5/7] exynos/drm: fix ddc i2c device probe failure Date: Tue, 22 Oct 2013 15:41:06 +0530 Message-id: <1382436668-15813-6-git-send-email-rahul.sharma@samsung.com> X-Mailer: git-send-email 1.7.10.4 In-reply-to: <1382436668-15813-1-git-send-email-rahul.sharma@samsung.com> References: <1382436668-15813-1-git-send-email-rahul.sharma@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprJIsWRmVeSWpSXmKPExsWyRsSkWrfZKy3IYNMrKYv5R86xWlz5+p7N YtL9CSwW33d9YbfoXXCVzWLT42usFjPO72OyWPgi3mLKosOsFofftLNa3N1wltFixuSXbBar dv1hdOD1mN1wkcVj56y77B73u48zeWxeUu/Rt2UVo8fnTXIBbFFcNimpOZllqUX6dglcGZf/ dbIWnGKv2N3Ry97AOJGti5GTQ0LAROLB9q/sELaYxIV764HiXBxCAksZJS6c7GOGKVpxbikr RGIRo8SceZfYIZzZTBJLHi0FG8UmoCsx++AzRhBbRKCLUeJgJwtIEbPAI0aJHY/2gI0SFnCR eHkdJMHJwSKg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Lji0pzUosPMSYDXTWRWUo0OR+YJvJK 4g2NTcxNjU0tTSxMzCxJE1YS5z3Qah0oJJCeWJKanZpakFoEs4WJg1OqgbG1OefyjVcRvN2y ehbHTtpVCk3RSbYRqDk4d/aVhgvPWQKM7hxXVj4txbfccJtcuWqcboNNsOnqv2937LjI6vD7 tJrj1g+bHe4WXLRYyDlvmta7ait2tW6Z+p1l/xpmnnY3TLx2SenvP6GpqbPdXincYO5s3bqV +cZ0UVZL1TSDf72S1rp5nUosxRmJhlrMRcWJAJ3RanYJAwAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131022_055154_689597_37400C30 X-CRM114-Status: GOOD ( 10.11 ) X-Spam-Score: -7.3 (-------) Cc: kgene.kim@samsung.com, sw0312.kim@samsung.com, tomasz.figa@gmail.com, joshi@samsung.com, inki.dae@samsung.com, seanpaul@chromium.org, s.nawrocki@samsung.com, r.sh.open@gmail.com, Rahul Sharma X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.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 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 --- drivers/gpu/drm/exynos/exynos_ddc.c | 5 +++++ 1 file changed, 5 insertions(+) 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,