On Wed, Jul 26, 2017 at 11:54 PM, Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx> wrote: > On Renesas R-Car archs, RuntimePM does all the clock handling. So, use > it consistently to enable/disable the clocks. Also make sure that clocks > are really enabled around clk_get_rate(). clk_summary looks proper now: > > clock enable_cnt prepare_cnt rate ... > Before this commit: > > At boot: rwdt 1 1 32768 0 0 > WDT running: rwdt 2 2 32768 0 0 > > After this commit: > > At boot: rwdt 0 1 32768 0 0 > WDT running rwdt 1 1 32768 0 0 > > Signed-off-by: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx> Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx> Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx 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