diff options
author | Wolfram Sang | 2017-07-26 23:54:37 +0200 |
---|---|---|
committer | Wim Van Sebroeck | 2017-09-09 21:11:52 +0200 |
commit | 3be42941dd9df9b7c5062fc98c416a15bf4bbc0f (patch) | |
tree | 808da097e4025ebdd960e359d7f75426edb29d40 /drivers/mtd/ofpart.c | |
parent | watchdog: aspeed: Support configuration of external signal properties (diff) | |
download | kernel-qcow2-linux-3be42941dd9df9b7c5062fc98c416a15bf4bbc0f.tar.gz kernel-qcow2-linux-3be42941dd9df9b7c5062fc98c416a15bf4bbc0f.tar.xz kernel-qcow2-linux-3be42941dd9df9b7c5062fc98c416a15bf4bbc0f.zip |
watchdog: renesas_wdt: consistently use RuntimePM for clock management
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@sang-engineering.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/mtd/ofpart.c')
0 files changed, 0 insertions, 0 deletions