From: Maxime Ripard <maxime.ripard@free-electrons.com>
To: Bob Ham <rah@settrans.net>
Cc: Chen-Yu Tsai <wens@csie.org>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@codeaurora.org>,
stable@vger.kernel.org, linux-clk@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] clk: sunxi-ng: sun6i: Fix enable bit offset for hdmi-ddc module clock
Date: Thu, 16 Feb 2017 18:55:53 +0100 [thread overview]
Message-ID: <20170216175553.epqbtjdazj76tjyu@lukather> (raw)
In-Reply-To: <1487110855.7145.46.camel@settrans.net>
[-- Attachment #1: Type: text/plain, Size: 1364 bytes --]
Hi Bob,
On Tue, Feb 14, 2017 at 10:20:55PM +0000, Bob Ham wrote:
> On Tue, 2017-02-14 at 10:23 +0800, Chen-Yu Tsai wrote:
> > The enable bit offset for the hdmi-ddc module clock is wrong. It is
> > pointing to the main hdmi module clock enable bit.
> >
> > Reported-by: Bob Ham <rah@settrans.net>
> > Fixes: c6e6c96d8fa6 ("clk: sunxi-ng: Add A31/A31s clocks")
> > Cc: stable@vger.kernel.org # 4.9.x-
> > Signed-off-by: Chen-Yu Tsai <wens@csie.org>
> > ---
> >
> > Hi Bob,
> >
> > Can you try this patch and see if it fixes your HDMI issue?
> > With the kernel running without "clk_ignore_unused" that is.
>
> Hi Chen-Yu,
>
> Unfortunately, that doesn't fix it; I get the same behaviour as without
> clk_ignore_unused.
can you apply that patch and give us your kernel boot logs?
Thanks!
------8<---------
diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
index 820a939fb6bb..0a23b03ea393 100644
--- a/drivers/clk/clk.c
+++ b/drivers/clk/clk.c
@@ -773,7 +773,9 @@ static void clk_disable_unused_subtree(struct clk_core *core)
if (core->enable_count)
goto unlock_out;
- if (core->flags & CLK_IGNORE_UNUSED)
+ printk("Ignoring %s\n", core->name);
+
+ if (true)
goto unlock_out;
/*
-------8<-------
--
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
next prev parent reply other threads:[~2017-02-16 17:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-14 2:23 [PATCH] clk: sunxi-ng: sun6i: Fix enable bit offset for hdmi-ddc module clock Chen-Yu Tsai
2017-02-14 22:20 ` Bob Ham
2017-02-16 17:55 ` Maxime Ripard [this message]
2017-02-16 17:56 ` Maxime Ripard
-- strict thread matches above, loose matches on Subject: below --
2017-02-14 2:18 Chen-Yu Tsai
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=20170216175553.epqbtjdazj76tjyu@lukather \
--to=maxime.ripard@free-electrons.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=rah@settrans.net \
--cc=sboyd@codeaurora.org \
--cc=stable@vger.kernel.org \
--cc=wens@csie.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