From: m.szyprowski@samsung.com (Marek Szyprowski)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4 9/9] drm/exynos: add support for 'hdmi' clock
Date: Mon, 02 Feb 2015 13:54:54 +0100 [thread overview]
Message-ID: <54CF739E.2070407@samsung.com> (raw)
In-Reply-To: <CAOMZO5BSvxvbM0nOHk2ogY0j23PwazFCMikiiEv-XtHae3=L_g@mail.gmail.com>
Hello,
On 2015-01-22 14:00, Fabio Estevam wrote:
> On Tue, Jan 20, 2015 at 10:16 AM, Marek Szyprowski
> <m.szyprowski@samsung.com> wrote:
>
>> + mixer_res->hdmi = devm_clk_get(dev, "hdmi");
>> + if (IS_ERR(mixer_res->hdmi)) {
>> + dev_err(dev, "failed to get clock 'hdmi'\n");
>> + return -ENODEV;
> 'return PTR_ERR(mixer_res->hdmi);' would be better.
ok.
>
>> + }
>> +
>> mixer_res->sclk_hdmi = devm_clk_get(dev, "sclk_hdmi");
>> if (IS_ERR(mixer_res->sclk_hdmi)) {
>> dev_err(dev, "failed to get clock 'sclk_hdmi'\n");
>> @@ -1095,6 +1102,7 @@ static void mixer_poweron(struct exynos_drm_manager *mgr)
>> pm_runtime_get_sync(ctx->dev);
>>
>> clk_prepare_enable(res->mixer);
>> + clk_prepare_enable(res->hdmi);
> Better check whether clk_prepare_enable failed.
This will be handled by a separate patch, because checking for error
values from
clk_repare_enable is missing almost all over the Exynos DRM driver.
Best regards
--
Marek Szyprowski, PhD
Samsung R&D Institute Poland
prev parent reply other threads:[~2015-02-02 12:54 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-20 12:16 [PATCH v4 0/9] Enable HDMI support on Exynos platforms Marek Szyprowski
2015-01-20 12:16 ` [PATCH v4 1/9] PM / Domains: Add a note about power domain subdomains Marek Szyprowski
2015-01-20 12:16 ` [PATCH v4 2/9] ARM: Exynos: add support for sub-power domains Marek Szyprowski
2015-01-20 12:16 ` [PATCH v4 3/9] ARM: dts: exynos4: add hdmi related nodes Marek Szyprowski
2015-01-20 12:16 ` [PATCH v4 4/9] ARM: dts: exynos4: add dependency between TV and LCD0 power domains Marek Szyprowski
2015-01-20 12:16 ` [PATCH v4 5/9] ARM: dts: exynos4412-odroid: enable hdmi support Marek Szyprowski
2015-01-20 12:16 ` [PATCH v4 6/9] ARM: dts: exynos4210-universal_c210: " Marek Szyprowski
2015-01-20 12:16 ` [PATCH v4 7/9] ARM: dts: Exynos: add 'hdmi' clock to mixer nodes Marek Szyprowski
2015-01-20 12:16 ` [PATCH v4 8/9] ARM: dts: exynos5250: add display power domain Marek Szyprowski
2015-01-20 12:16 ` [PATCH v4 9/9] drm/exynos: add support for 'hdmi' clock Marek Szyprowski
2015-01-20 12:52 ` Javier Martinez Canillas
2015-01-22 12:28 ` [PATCH v4 RESEND " Marek Szyprowski
2015-01-22 13:11 ` Javier Martinez Canillas
2015-01-22 12:41 ` [PATCH v4 " Marek Szyprowski
2015-01-22 12:51 ` Javier Martinez Canillas
2015-01-22 13:20 ` Marek Szyprowski
2015-01-22 13:00 ` Fabio Estevam
2015-02-02 12:54 ` Marek Szyprowski [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54CF739E.2070407@samsung.com \
--to=m.szyprowski@samsung.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox