From patchwork Wed Apr 30 14:02:54 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrzej Hajda X-Patchwork-Id: 4094171 Return-Path: X-Original-To: patchwork-linux-media@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 C5DCABFF02 for ; Wed, 30 Apr 2014 14:04:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 10BD3202F0 for ; Wed, 30 Apr 2014 14:04:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2C2B6202EB for ; Wed, 30 Apr 2014 14:04:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1422677AbaD3OEK (ORCPT ); Wed, 30 Apr 2014 10:04:10 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:53179 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933754AbaD3ODt (ORCPT ); Wed, 30 Apr 2014 10:03:49 -0400 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout1.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N4U00AJPKEAFH10@mailout1.w1.samsung.com>; Wed, 30 Apr 2014 15:03:47 +0100 (BST) X-AuditID: cbfec7f4-b7fb36d000006ff7-d6-536102c4b4ff Received: from eusync1.samsung.com ( [203.254.199.211]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id ED.1A.28663.4C201635; Wed, 30 Apr 2014 15:03:48 +0100 (BST) Received: from AMDC1061.digital.local ([106.116.147.88]) by eusync1.samsung.com (Oracle Communications Messaging Server 7u4-23.01 (7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0N4U00ITVKDY1070@eusync1.samsung.com>; Wed, 30 Apr 2014 15:03:48 +0100 (BST) From: Andrzej Hajda To: linux-kernel@vger.kernel.org (open list) Cc: Andrzej Hajda , Marek Szyprowski , Greg Kroah-Hartman , Arnd Bergmann , Russell King - ARM Linux , Thierry Reding , David Airlie , Inki Dae , Kyungmin Park , Tomasz Figa , Tomasz Stansislawski , linux-samsung-soc@vger.kernel.org (moderated list:ARM/S5P EXYNOS AR...), linux-arm-kernel@lists.infradead.org (moderated list:ARM/S5P EXYNOS AR...), dri-devel@lists.freedesktop.org, linux-media@vger.kernel.org Subject: [RFC PATCH 4/4] drm/panel/ld9040: do not power off panel on removal Date: Wed, 30 Apr 2014 16:02:54 +0200 Message-id: <1398866574-27001-5-git-send-email-a.hajda@samsung.com> X-Mailer: git-send-email 1.8.3.2 In-reply-to: <1398866574-27001-1-git-send-email-a.hajda@samsung.com> References: <1398866574-27001-1-git-send-email-a.hajda@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrGLMWRmVeSWpSXmKPExsVy+t/xy7pHmBKDDd68l7S4te4cq0XvuZNM Fn8nHWO3uPL1PZtF8+L1bBaT7k9gsTjb9IbdYtPja6wWl3fNYbPo2bCV1WLG+X1MFrcv81qs PXKX3WL9jNcsFvPaX7Ja/Nw1j8VBwKOluYfN4/evSYweO2fdZffY/u0Bq8f+uWvYPe53H2fy 2Lyk3qNvyypGj8+b5AI4o7hsUlJzMstSi/TtErgy3pxaw17wm6Xi97an7A2Ms1m6GDk5JARM JA7PaIeyxSQu3FvP1sXIxSEksJRRYsnlN+wQTh+TRNvmPWBVbAKaEn8332QDsUUEdCSu93Qz gxQxC6xmlTjweRIzSEJYwEdiwvt7YA0sAqoSE/f3gzXwCjhL3Nm7kQlinYLEsi9rweo5BVwk Wn7uA6sRAqqZMXER0wRG3gWMDKsYRVNLkwuKk9JzDfWKE3OLS/PS9ZLzczcxQsL6yw7Gxces DjEKcDAq8fAKbI0PFmJNLCuuzD3EKMHBrCTCe/RfQrAQb0piZVVqUX58UWlOavEhRiYOTqkG Rj/D0qfuBVwH3AXm37y6b+7ndTa+rycIvWt83ahXo331wyLdhjzWQDdHpldbsz+d9uz519Ao mfn46MTXLXZ351pZimiuK3zCtTCjP+Pv/hucHU8eVL5pFqr+qLhyvrTaBEelc1Y7fkwKn7Yv w3Fvk47ybVWRzRPYNR3jm6UeHg62MX37z+yVjhJLcUaioRZzUXEiAJ78X0pJAgAA Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-7.5 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 Panel is powered off already by connector during drm_panel_remove call. Signed-off-by: Andrzej Hajda --- drivers/gpu/drm/panel/panel-ld9040.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/panel/panel-ld9040.c b/drivers/gpu/drm/panel/panel-ld9040.c index 1f1f837..1def4b0 100644 --- a/drivers/gpu/drm/panel/panel-ld9040.c +++ b/drivers/gpu/drm/panel/panel-ld9040.c @@ -348,7 +348,6 @@ static int ld9040_remove(struct spi_device *spi) { struct ld9040 *ctx = spi_get_drvdata(spi); - ld9040_power_off(ctx); drm_panel_remove(&ctx->panel); return 0;