Thread (29 messages) 29 messages, 7 authors, 2014-12-12

[PATCH/RFC 3/4] of/clk: Register clocks suitable for Runtime PM with the PM core

From: Ulf Hansson <hidden>
Date: 2014-05-06 07:43:33
Also in: linux-devicetree, linux-omap, linux-pm, linux-sh, lkml

On 2 May 2014 16:35, Geert Uytterhoeven [off-list ref] wrote:
Hi Ulf,

On Fri, May 2, 2014 at 10:56 AM, Ulf Hansson [off-list ref] wrote:
quoted
quoted
+static int of_clk_pm_runtime_suspend(struct device *dev)
+{
+       int ret;
+
+       ret = pm_generic_runtime_suspend(dev);
+       if (ret)
+               return ret;
+
+       ret = pm_clk_suspend(dev);
What about slow clocks? Those aren't handled with pm_clk_suspend().
How are slow clocks handled?
clk_prepare|unprepare - these functions may sleep.

Kind regards
Ulf Hansson
Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help