From patchwork Wed Jul 12 10:01:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrzej Hajda X-Patchwork-Id: 9836405 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5D6C0603F3 for ; Wed, 12 Jul 2017 10:01:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1C2BD26E4A for ; Wed, 12 Jul 2017 10:01:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 10DFF2857F; Wed, 12 Jul 2017 10:01:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A093A26E4A for ; Wed, 12 Jul 2017 10:01:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754451AbdGLKBg (ORCPT ); Wed, 12 Jul 2017 06:01:36 -0400 Received: from mailout4.w1.samsung.com ([210.118.77.14]:50619 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750959AbdGLKBf (ORCPT ); Wed, 12 Jul 2017 06:01:35 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OSZ0001M2IJ6430@mailout4.w1.samsung.com> for linux-samsung-soc@vger.kernel.org; Wed, 12 Jul 2017 11:01:32 +0100 (BST) Received: from eusmges3.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20170712100131eucas1p2acdceeb14dd5fa8f42417f4d6bdca353~QjPxn9mlh1841318413eucas1p2V; Wed, 12 Jul 2017 10:01:31 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3.samsung.com (EUCPMTA) with SMTP id A0.82.17464.B73F5695; Wed, 12 Jul 2017 11:01:31 +0100 (BST) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20170712100130eucas1p28e5dd505bee3f5e7f09d81bab8e5ba06~QjPxBtr5l1106811068eucas1p25; Wed, 12 Jul 2017 10:01:30 +0000 (GMT) X-AuditID: cbfec7f2-f797e6d000004438-fd-5965f37b7fb9 Received: from eusync2.samsung.com ( [203.254.199.212]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 25.EB.17452.A73F5695; Wed, 12 Jul 2017 11:01:30 +0100 (BST) Received: from AMDC2768.DIGITAL.local ([106.120.43.17]) by eusync2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OSZ00HYA2II0300@eusync2.samsung.com>; Wed, 12 Jul 2017 11:01:30 +0100 (BST) From: Andrzej Hajda To: Inki Dae Cc: Andrzej Hajda , Bartlomiej Zolnierkiewicz , Marek Szyprowski , dri-devel@lists.freedesktop.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH] drm/exynos/hdmi: fix disable sequence Date: Wed, 12 Jul 2017 12:01:23 +0200 Message-id: <1499853683-10261-1-git-send-email-a.hajda@samsung.com> X-Mailer: git-send-email 2.7.4 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrPIsWRmVeSWpSXmKPExsWy7djP87rVn1MjDU4tEbO4te4cq8XGGetZ La58fc9mMen+BBaLGef3MVmsPXKX3YHN4373cSaPvi2rGD0+b5ILYI7isklJzcksSy3St0vg yjh09zxrwXX2ig9v5jI2MF5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zXCfzBEbuBYwMqxhFUkuLc9Nziw31ihNzi0vz0vWS83M3MQIDcNuxn5t3MF7a GHyIUYCDUYmHt+FCSqQQa2JZcWXuIUYJDmYlEd6rb1MjhXhTEiurUovy44tKc1KLDzGaAi2f yCwlmpwPjI68knhDE0NzS0MjYwsLcyMjJXHekg9XwoUE0hNLUrNTUwtSi2D6mDg4pRoYM3Za xmqIpN9KbWi5o9jwtfTrbCX+bLPOz21H+9zu/lLWePb+WNcaCYbCZxMVblpM33D+sWH3/k0P tzY63Sg+9mRhq8/bH3ZbG6bECiya5PpU4VBSQaBxcVzEnPjFduEKwicWG0r75n6fr2r7SiKg 7eCDyVP+t5z6t6ZgxeV3qdxd3O0vn9SmKrEUZyQaajEXFScCAKHAoLJWAgAA X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170712100130eucas1p28e5dd505bee3f5e7f09d81bab8e5ba06 X-Msg-Generator: CA X-Sender-IP: 182.198.249.179 X-Local-Sender: =?UTF-8?B?QW5kcnplaiBIYWpkYRtTUlBPTC1LZXJuZWwgKFRQKRvsgrw=?= =?UTF-8?B?7ISx7KCE7J6QG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Global-Sender: =?UTF-8?B?QW5kcnplaiBIYWpkYRtTUlBPTC1LZXJuZWwgKFRQKRtTYW1z?= =?UTF-8?B?dW5nIEVsZWN0cm9uaWNzG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Sender-Code: =?UTF-8?B?QzEwG0VIURtDMTBDRDAyQ0QwMjczOTI=?= CMS-TYPE: 201P X-HopCount: 7 X-CMS-RootMailID: 20170712100130eucas1p28e5dd505bee3f5e7f09d81bab8e5ba06 X-RootMTR: 20170712100130eucas1p28e5dd505bee3f5e7f09d81bab8e5ba06 References: Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The "Fixes" patch was incorrectly merged, as a result PHY is prematurely powered off and for example Odroid-U3 cannot disable TV power domain when HDMI cable is unplugged. Signed-off-by: Andrzej Hajda Reported-by: Marek Szyprowski Fixes: 625e63e2 ("drm/exynos/hdmi: fix pipeline disable order") Tested-by: Marek Szyprowski --- drivers/gpu/drm/exynos/exynos_hdmi.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c index e65cdbf..b1718d8 100644 --- a/drivers/gpu/drm/exynos/exynos_hdmi.c +++ b/drivers/gpu/drm/exynos/exynos_hdmi.c @@ -1501,8 +1501,6 @@ static void hdmi_disable(struct drm_encoder *encoder) */ cancel_delayed_work(&hdata->hotplug_work); cec_notifier_set_phys_addr(hdata->notifier, CEC_PHYS_ADDR_INVALID); - - hdmiphy_disable(hdata); } static const struct drm_encoder_helper_funcs exynos_hdmi_encoder_helper_funcs = {