From patchwork Mon Nov 30 13:53:17 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 7725381 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 61FAFBEEE1 for ; Mon, 30 Nov 2015 13:53:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 972062042B for ; Mon, 30 Nov 2015 13:53:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 27D5220558 for ; Mon, 30 Nov 2015 13:53:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754004AbbK3Nxs (ORCPT ); Mon, 30 Nov 2015 08:53:48 -0500 Received: from mailout4.w1.samsung.com ([210.118.77.14]:50748 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753983AbbK3Nxr (ORCPT ); Mon, 30 Nov 2015 08:53:47 -0500 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NYM000T3RXL7HB0@mailout4.w1.samsung.com> for linux-samsung-soc@vger.kernel.org; Mon, 30 Nov 2015 13:53:45 +0000 (GMT) X-AuditID: cbfec7f4-f79026d00000418a-fa-565c54e8e6c6 Received: from eusync2.samsung.com ( [203.254.199.212]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 31.BC.16778.8E45C565; Mon, 30 Nov 2015 13:53:44 +0000 (GMT) Received: from amdc1339.digital.local ([106.116.147.30]) by eusync2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NYM007NRRXFE700@eusync2.samsung.com>; Mon, 30 Nov 2015 13:53:44 +0000 (GMT) From: Marek Szyprowski To: dri-devel@lists.freedesktop.org, linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Inki Dae , Joonyoung Shim , Seung-Woo Kim , Andrzej Hajda , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , Tobias Jakobi , Gustavo Padovan , Javier Martinez Canillas Subject: [PATCH v2 02/22] drm/exynos: gsc: fix wrong pm_runtime state Date: Mon, 30 Nov 2015 14:53:17 +0100 Message-id: <1448891617-18830-3-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.2 In-reply-to: <1448891617-18830-1-git-send-email-m.szyprowski@samsung.com> References: <1448891617-18830-1-git-send-email-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrJLMWRmVeSWpSXmKPExsVy+t/xK7ovQ2LCDO6IW9xad47VYuOM9awW V76+Z7PY+WAXu8Wk+xNYLN68XcNk8eLeRRaL1y8MLWac38dksfbIXXaLGZNfslm0rf7AarFq 1x9GB16PnbPusnvc7z7O5PHvGLvHln4gb+ekvUwefVtWMXp83iQXwB7FZZOSmpNZllqkb5fA lbFg0VXGgt3sFVNb9zA3MO5j62Lk5JAQMJH4vPk4C4QtJnHh3nqgOBeHkMBSRok1W3qZIJwm JonrM2cxgVSxCRhKdL3tAusWEXCTaDo8kxXEZhY4zCxxeGodiC0s4CqxvqeRHcRmEVCVOPHv HZjNK+Ah8Xn5AmaIbXIS/1+uAJvJKeAp8eTsabAaIaCaDTOOMU1g5F3AyLCKUTS1NLmgOCk9 11CvODG3uDQvXS85P3cTIyRAv+xgXHzM6hCjAAejEg+vhFl0mBBrYllxZe4hRgkOZiUR3kDT mDAh3pTEyqrUovz4otKc1OJDjNIcLErivHN3vQ8REkhPLEnNTk0tSC2CyTJxcEo1MCqc4jv1 W4h1tbTajh8SqxQWy194GNP9WDpwt2/SbZM8I415EhuSFI9/ffqQ40V5rPhf2yVH31v35Vgv Wf9glwOXuKVXhpnV9xet3FwOGZO1s0vjNtkyPlrCyz7TIdmgaifX34gwk/CLy9g7866vurHj 0NNjt+We71bRUn7ueKfstnjxf0P+z0osxRmJhlrMRcWJABx/IfJMAgAA 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=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_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 From: Seung-Woo Kim At probe time, gsc clock is not enabled, so pm_runtime state should be deactive. So this patch removes pm_runtime_set_active() from gsc_probe(). Signed-off-by: Seung-Woo Kim Signed-off-by: Marek Szyprowski Reviewed-by: Gustavo Padovan --- drivers/gpu/drm/exynos/exynos_drm_gsc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_gsc.c b/drivers/gpu/drm/exynos/exynos_drm_gsc.c index 72a9c84e06b6..ed55d37b6330 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_gsc.c +++ b/drivers/gpu/drm/exynos/exynos_drm_gsc.c @@ -1713,7 +1713,6 @@ static int gsc_probe(struct platform_device *pdev) mutex_init(&ctx->lock); platform_set_drvdata(pdev, ctx); - pm_runtime_set_active(dev); pm_runtime_enable(dev); ret = exynos_drm_ippdrv_register(ippdrv);