From patchwork Fri Sep 4 20:15:43 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Padovan X-Patchwork-Id: 7125821 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 A3283BF036 for ; Fri, 4 Sep 2015 20:16:05 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 94AE02089C for ; Fri, 4 Sep 2015 20:16:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B2FA120755 for ; Fri, 4 Sep 2015 20:16:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760561AbbIDUQD (ORCPT ); Fri, 4 Sep 2015 16:16:03 -0400 Received: from mail-yk0-f193.google.com ([209.85.160.193]:34533 "EHLO mail-yk0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760474AbbIDUQB (ORCPT ); Fri, 4 Sep 2015 16:16:01 -0400 Received: by ykcm128 with SMTP id m128so2769299ykc.1 for ; Fri, 04 Sep 2015 13:16:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=K1If7FCgfIfS9Td5ww5OHB9A7Sg5Hmj2S8BG85Uguzc=; b=j1ISQHgEe7YzUjBnh6cxvs/MK0XG85b8zPF4NUqy31uDbbXSTQtkM50QO0e+rhTnMV QNcwdW1Nyz1Ob0QMaRXcewXGPduXK08K9Olq9acb5ZBDbDk22KwAn4nLZOzlLcJi31M9 MByt+yOhnNklOPNBHSyZpzZjefZuCZ4MhBSURG/eZxO5l89tp6EQ9Xmi/V1kFDmtsCXa 3UBOewSIzbBimLevRTDJ0PE3uMbURacmOvokwQE8UYawQDxKdQ0HWdxBNK15dnnRiAgs 0SRMXfX6cf7ucL2k0gICU5H9nDU4fF+dknqpwetikpndTzZjsMjdL612EwscoDWfO6oD yp9A== X-Received: by 10.13.237.134 with SMTP id w128mr6099397ywe.110.1441397761266; Fri, 04 Sep 2015 13:16:01 -0700 (PDT) Received: from jade.localdomain ([187.64.235.140]) by smtp.gmail.com with ESMTPSA id w186sm3228710ywf.18.2015.09.04.13.15.59 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Sep 2015 13:16:00 -0700 (PDT) From: Gustavo Padovan To: linux-samsung-soc@vger.kernel.org Cc: dri-devel@lists.freedesktop.org, inki.dae@samsung.com, jy0922.shim@samsung.com, tjakobi@math.uni-bielefeld.de, Gustavo Padovan Subject: [PATCH 01/10] drm/exynos: do not start enabling DP at bind() phase Date: Fri, 4 Sep 2015 17:15:43 -0300 Message-Id: <1441397752-6672-2-git-send-email-gustavo@padovan.org> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1441397752-6672-1-git-send-email-gustavo@padovan.org> References: <1441397752-6672-1-git-send-email-gustavo@padovan.org> 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, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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: Gustavo Padovan The DP device will be properly enabled at the enable() call just after the bind call finishes. Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/exynos/exynos_dp_core.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_dp_core.c b/drivers/gpu/drm/exynos/exynos_dp_core.c index d66ade0..c73aff1 100644 --- a/drivers/gpu/drm/exynos/exynos_dp_core.c +++ b/drivers/gpu/drm/exynos/exynos_dp_core.c @@ -1289,10 +1289,6 @@ static int exynos_dp_bind(struct device *dev, struct device *master, void *data) INIT_WORK(&dp->hotplug_work, exynos_dp_hotplug); - phy_power_on(dp->phy); - - exynos_dp_init_dp(dp); - ret = devm_request_irq(&pdev->dev, dp->irq, exynos_dp_irq_handler, irq_flags, "exynos-dp", dp); if (ret) {