]> git.baikalelectronics.ru Git - kernel.git/commit
WATCHDOG: txx9wdt: Add missing clock (un)prepare calls for CCF
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 11 Sep 2016 08:59:57 +0000 (10:59 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 4 Oct 2016 14:13:57 +0000 (16:13 +0200)
commit0bc9c052b9eafe97fb78e3e48b16ca79a0441484
tree614c1e40c268d42e0cbf91a0f5cf2de576731cbb
parent512423a8df22ad8ed9f7626b7e21a89dbdfcc6dd
WATCHDOG: txx9wdt: Add missing clock (un)prepare calls for CCF

While the custom minimal TXx9 clock implementation doesn't need or use
clock (un)prepare calls (they are dummies if !CONFIG_HAVE_CLK_PREPARE),
they are mandatory when using the Common Clock Framework.

Hence add them, to prepare for the advent of CCF.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Cc: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Cc: Wim Van Sebroeck <wim@iguana.be>
Cc: linux-clk@vger.kernel.org
Cc: linux-mips@linux-mips.org
Cc: linux-watchdog@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/14238/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
drivers/watchdog/txx9wdt.c