From patchwork Thu Jul 31 17:42:03 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ajay Kumar X-Patchwork-Id: 4658401 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 70D1EC0338 for ; Thu, 31 Jul 2014 17:45:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 703E420138 for ; Thu, 31 Jul 2014 17:45:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 57D2E20158 for ; Thu, 31 Jul 2014 17:45:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752318AbaGaRpk (ORCPT ); Thu, 31 Jul 2014 13:45:40 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:9238 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751805AbaGaRpi (ORCPT ); Thu, 31 Jul 2014 13:45:38 -0400 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N9L00J648005CC0@mailout3.samsung.com>; Fri, 01 Aug 2014 02:45:36 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.125]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id C5.C7.25328.0C08AD35; Fri, 01 Aug 2014 02:45:36 +0900 (KST) X-AuditID: cbfee68d-b7f2f6d0000062f0-fc-53da80c065e8 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 7F.2E.05196.0C08AD35; Fri, 01 Aug 2014 02:45:36 +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:36 +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 04/15] drm/panel: s6e8aa0: Add dummy prepare and unprepare routines Date: Thu, 31 Jul 2014 23:12:03 +0530 Message-id: <1406828534-10072-5-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+NgFupgkeLIzCtJLcpLzFFi42JZI2JSq3ug4VawQcNbVYsD7w+yWGx4s5DZ Yv6Rc6wWV76+Z7OYdH8Ci8XlhZdYLb7v+sJuMeP8PiaLVYc3sFvMPZhr8XPXPBYHbo+ds+6y eyzYVOpxv/s4k0ffllWMHp83yQWwRnHZpKTmZJalFunbJXBlbJ32irmgj7NiZ/tb9gbGS+xd jJwcEgImEvMuT2eBsMUkLtxbz9bFyMUhJLCUUeLE0x1wRedv/GSBSCxilDj78jM7hDOBSWLv hO9g7WwC2hLbpt8Es0UE6iT2L7/PCFLELLCWUeLpvMlgCWGBUInTy1cygdgsAqoSb8+eZAax eQU8JC68ugEU5wBapyAxZ5INSJhTwFNiau9ldpCwEFDJs+NpICMlBLaxSyx59JEZYoyAxLfJ h1ggWmUlNh1ghjhaUuLgihssExiFFzAyrGIUTS1ILihOS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y/Wry/Tpd1K/84jKNx76Hcolw6hdLM89uT5hXtE8xfV/kueYCbFdkf9/ZvcRjXbO vN4V994pRGzeVyQ8cWrBT51ph3w4+cqcijL5b+m6r+51n/iqMXuVpVyrC+vBGUskV/x8V67E UpyRaKjFXFScCABIk2LxygIAAA== 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 s6e8aa0 panel driver. Signed-off-by: Ajay Kumar --- drivers/gpu/drm/panel/panel-s6e8aa0.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-s6e8aa0.c b/drivers/gpu/drm/panel/panel-s6e8aa0.c index 06e57a2..60694dd 100644 --- a/drivers/gpu/drm/panel/panel-s6e8aa0.c +++ b/drivers/gpu/drm/panel/panel-s6e8aa0.c @@ -900,6 +900,16 @@ static int s6e8aa0_disable(struct drm_panel *panel) return s6e8aa0_power_off(ctx); } +static int s6e8aa0_unprepare(struct drm_panel *panel) +{ + return 0; +} + +static int s6e8aa0_prepare(struct drm_panel *panel) +{ + return 0; +} + static int s6e8aa0_enable(struct drm_panel *panel) { struct s6e8aa0 *ctx = panel_to_s6e8aa0(panel); @@ -944,6 +954,8 @@ static int s6e8aa0_get_modes(struct drm_panel *panel) static const struct drm_panel_funcs s6e8aa0_drm_funcs = { .disable = s6e8aa0_disable, + .unprepare = s6e8aa0_unprepare, + .prepare = s6e8aa0_prepare, .enable = s6e8aa0_enable, .get_modes = s6e8aa0_get_modes, };