Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932247AbdDGLdG (ORCPT ); Fri, 7 Apr 2017 07:33:06 -0400 Received: from mailout3.w1.samsung.com ([210.118.77.13]:13323 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932528AbdDGLc4 (ORCPT ); Fri, 7 Apr 2017 07:32:56 -0400 X-AuditID: cbfec7f1-f796e6d00000116b-ec-58e778e4bc20 Subject: Re: [PATCH v5 03/12] drm: bridge: analogix: Disable clock when unbinding To: Jeffy Chen , linux-kernel@vger.kernel.org Cc: Tomeu Vizoso , briannorris@chromium.org, dianders@chromium.org, dri-devel@lists.freedesktop.org, tfiga@chromium.org, zyw@rock-chips.com, Marek Szyprowski , Yakir Yang From: Andrzej Hajda Message-id: <2d397aff-c71d-19d2-b758-199ca17efd5f@samsung.com> Date: Fri, 07 Apr 2017 13:32:50 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-version: 1.0 In-reply-to: <1491481885-13775-4-git-send-email-jeffy.chen@rock-chips.com> Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA01Sa0gUYRTl25mdGQdXptX0opW4FZiQZhZNJaKlMeifIoilP7booKarsquL +qPEaPMRapYoq6VRSWw+Ntd8ZfkqV3xvilk+EjKNykxXSQmXXGcF/517zznfvefyUZhUL3an 4hJTeFWiIkFG0Hhjz8bQ0bm0BfmxavMptn55ScwOVnUS7NjaEsH+nRgk2JH2fhE72lpOsDXv pknWcttKsPk1Hwi2YrYZC6a5skwzzjVPP0Vci26a5L7kmUTcpq4d5/Ib9Iiz1B+4SF6lA6P5 hDgNr/ILukbHVhT7JHeSaSuGLDITvSBykQMFzAkoNupxAbvCyEzdVp+mpMwzBIacXCQUFgRr ldmiHcfjwR6xQFQh+FZ2DxOKeQRt+o0thqKcmcuwPhZpM7gw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2UWUJeYMiUXJMwsIC+xec1b5gmMArOQ dMxCqJqFpGoBI/MqRpHU0uLc9NxiQ73ixNzi0rx0veT83E2MwEjcduzn5h2MlzYGH2IU4GBU 4uFd8PRJhBBrYllxZe4hRgkOZiURXoey5xFCvCmJlVWpRfnxRaU5qcWHGE2BXpjILCWanA9M Enkl8YYmhuaWhkbGFhbmRkZK4rwlH66ECwmkJ5akZqemFqQWwfQxcXBKNTBWN55R26IX07U5 bd7suXMzWfeWTD/HHPvv0m7epjeCfkpLfnqE8apZ+PJ033yRxtaUwN6Z7H/Gzj7TITH9+N6u xQd3NPWw+XJHeTT17AxdcW0/n/2SivWJW/w7hfY8zn3bwTYlJC/jft0K795H7+q2qNWvviD/ +dK26YFn8yxiv287KKh7Y7sSS3FGoqEWc1FxIgACI7GI2gIAAA== X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170407113252eucas1p1fcd00999c3c6b0a1297f573a5dc67d76 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: 20170406233021epcas4p4c570b46550c7e607878e7292aaa37061 X-RootMTR: 20170406233021epcas4p4c570b46550c7e607878e7292aaa37061 References: <1491481885-13775-1-git-send-email-jeffy.chen@rock-chips.com> <1491481885-13775-4-git-send-email-jeffy.chen@rock-chips.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 928 Lines: 31 On 06.04.2017 14:31, Jeffy Chen wrote: > The clock is enabled when binding analogix dp. > > Signed-off-by: Jeffy Chen Reviewed-by: Andrzej Hajda -- Regards Andrzej > --- > > Changes in v5: None > Changes in v4: None > Changes in v3: None > Changes in v2: None > > drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c > index 7b75f82..d05ade4 100644 > --- a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c > +++ b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c > @@ -1449,6 +1449,7 @@ void analogix_dp_unbind(struct device *dev, struct device *master, > > drm_dp_aux_unregister(&dp->aux); > pm_runtime_disable(dev); > + clk_disable_unprepare(dp->clock); > } > EXPORT_SYMBOL_GPL(analogix_dp_unbind); >