[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAJ-oXjR7OyGjppoGReiaibLaZa6427ppwnbEQ2pvxMV2PKOHjA@mail.gmail.com>
Date: Fri, 20 Oct 2017 21:21:14 +0200
From: Pierre-Hugues Husson <phh@....me>
To: Russell King - ARM Linux <linux@...linux.org.uk>
Cc: linux-rockchip@...ts.infradead.org,
linux-media <linux-media@...r.kernel.org>,
Heiko Stuebner <heiko@...ech.de>,
linux-arm-kernel@...ts.infradead.org,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/3] drm: bridge: synopsys/dw-hdmi: Enable cec clock
2017-10-20 10:12 GMT+02:00 Russell King - ARM Linux <linux@...linux.org.uk>:
> On Sat, Oct 14, 2017 at 12:53:35AM +0200, Pierre-Hugues Husson wrote:
>> @@ -2382,6 +2383,18 @@ __dw_hdmi_probe(struct platform_device *pdev,
>> goto err_isfr;
>> }
>>
>> + hdmi->cec_clk = devm_clk_get(hdmi->dev, "cec");
>> + if (IS_ERR(hdmi->cec_clk)) {
>> + hdmi->cec_clk = NULL;
>
> What if devm_clk_get() returns EPROBE_DEFER? Does that really mean the
> clock does not exist?
Should be fixed in v2.
Thanks
Powered by blists - more mailing lists