* [PATCH] clk: core: Force setting the phase delay when no change
@ 2016-08-13 16:23 Jean-Francois Moine
0 siblings, 0 replies; 2+ messages in thread
From: Jean-Francois Moine @ 2016-08-13 16:23 UTC (permalink / raw)
To: linux-arm-kernel
The hardware phase delay may depend on some other settings as clock
reparenting, so, it has to be set each time.
Also, when the delay was the same as previously, an error was returned.
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
---
drivers/clk/clk.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
index 820a939..2e6b91e 100644
--- a/drivers/clk/clk.c
+++ b/drivers/clk/clk.c
@@ -1908,10 +1908,6 @@ int clk_set_phase(struct clk *clk, int degrees)
clk_prepare_lock();
- /* bail early if nothing to do */
- if (degrees == clk->core->phase)
- goto out;
-
trace_clk_set_phase(clk->core, degrees);
if (clk->core->ops->set_phase)
--
2.9.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
[parent not found: <20160813164412.2671726A@mail.free-electrons.com>]
* [PATCH] clk: core: Force setting the phase delay when no change
[not found] <20160813164412.2671726A@mail.free-electrons.com>
@ 2016-08-24 6:15 ` Maxime Ripard
0 siblings, 0 replies; 2+ messages in thread
From: Maxime Ripard @ 2016-08-24 6:15 UTC (permalink / raw)
To: linux-arm-kernel
Hi,
On Sat, Aug 13, 2016 at 06:23:49PM +0200, Jean-Francois Moine wrote:
> The hardware phase delay may depend on some other settings as clock
> reparenting, so, it has to be set each time.
> Also, when the delay was the same as previously, an error was returned.
>
> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Please send it to the proper maintainers.
Thanks,
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160824/11a29fd7/attachment.sig>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-08-24 6:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-13 16:23 [PATCH] clk: core: Force setting the phase delay when no change Jean-Francois Moine
[not found] <20160813164412.2671726A@mail.free-electrons.com>
2016-08-24 6:15 ` Maxime Ripard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).