From patchwork Thu Jul 31 17:42:02 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ajay Kumar X-Patchwork-Id: 4658391 Return-Path: X-Original-To: patchwork-linux-samsung-soc@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 7001BC0338 for ; Thu, 31 Jul 2014 17:45:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6174520138 for ; Thu, 31 Jul 2014 17:45:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9D00E20145 for ; Thu, 31 Jul 2014 17:45:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753040AbaGaRpg (ORCPT ); Thu, 31 Jul 2014 13:45:36 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:42253 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751805AbaGaRpe (ORCPT ); Thu, 31 Jul 2014 13:45:34 -0400 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N9L00INH7ZXRL10@mailout4.samsung.com>; Fri, 01 Aug 2014 02:45:33 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.122]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id 05.C7.25328.DB08AD35; Fri, 01 Aug 2014 02:45:33 +0900 (KST) X-AuditID: cbfee68d-b7f2f6d0000062f0-f2-53da80bddd1d Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id C4.AA.04943.CB08AD35; Fri, 01 Aug 2014 02:45:33 +0900 (KST) Received: from chromebld-server.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 <0N9L00GWZ7ZJ9070@mmp1.samsung.com>; Fri, 01 Aug 2014 02:45:32 +0900 (KST) From: Ajay Kumar To: dri-devel@lists.freedesktop.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, thierry.reding@gmail.com Cc: inki.dae@samsung.com, seanpaul@google.com, ajaynumb@gmail.com, jg1.han@samsung.com, joshi@samsung.com, prashanth.g@samsung.com, Ajay Kumar Subject: [PATCH 03/15] drm/panel: ld9040: Add dummy prepare and unprepare routines Date: Thu, 31 Jul 2014 23:12:02 +0530 Message-id: <1406828534-10072-4-git-send-email-ajaykumar.rs@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1406828534-10072-1-git-send-email-ajaykumar.rs@samsung.com> References: <1406828534-10072-1-git-send-email-ajaykumar.rs@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpnkeLIzCtJLcpLzFFi42JZI2JSpbu34VawwZ+HPBYH3h9ksdjwZiGz xfwj51gtrnx9z2Yx6f4EFovLCy+xWnzf9YXdYsb5fUwWqw5vYLeYezDX4ueueSwO3B47Z91l 91iwqdTjfvdxJo++LasYPT5vkgtgjeKySUnNySxLLdK3S+DKOHn3CkvBb46K3R3P2BoY97N3 MXJySAiYSOx6/p0VwhaTuHBvPVsXIxeHkMBSRolje/rgig5928oGYgsJLGKUeDPXGaJoApPE 4YlTwYrYBLQltk2/yQJiiwjUSexffp8RpIhZYC2jxNN5k8ESwgIhEtP/vANbxyKgKrF36XSw qbwCHhLz35wCinMAbVOQmDPJBiTMKeApMbX3MjtIWAio5NnxNJCREgLb2CWmHL0ANUZA4tvk QywQrbISmw4wQ9wsKXFwxQ2WCYzCCxgZVjGKphYkFxQnpRcZ6hUn5haX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ebywaZle7oW6F+fuK+rT1317qtz1++b+O7BvNJMeEZU49UeLpPTJA7XbhR yTjwtMQcwyuaVa+0T+7LWB3+U+4WL+eM6zaOG2TCdgRNfXZYrbBWl33rjUfRJpu2b6sqaYxT YinOSDTUYi4qTgQAVhVf28kCAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 This patch adds dummy definition for prepare and unprepare routines to ld9040 panel driver. Signed-off-by: Ajay Kumar --- drivers/gpu/drm/panel/panel-ld9040.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-ld9040.c b/drivers/gpu/drm/panel/panel-ld9040.c index db1601f..9b40bd05 100644 --- a/drivers/gpu/drm/panel/panel-ld9040.c +++ b/drivers/gpu/drm/panel/panel-ld9040.c @@ -228,6 +228,16 @@ static int ld9040_disable(struct drm_panel *panel) return ld9040_power_off(ctx); } +static int ld9040_unprepare(struct drm_panel *panel) +{ + return 0; +} + +static int ld9040_prepare(struct drm_panel *panel) +{ + return 0; +} + static int ld9040_enable(struct drm_panel *panel) { struct ld9040 *ctx = panel_to_ld9040(panel); @@ -273,6 +283,8 @@ static int ld9040_get_modes(struct drm_panel *panel) static const struct drm_panel_funcs ld9040_drm_funcs = { .disable = ld9040_disable, + .unprepare = ld9040_unprepare, + .prepare = ld9040_prepare, .enable = ld9040_enable, .get_modes = ld9040_get_modes, };