]> git.baikalelectronics.ru Git - uboot.git/commit
wdt: dw: Enable the clock before using it
authorSean Anderson <seanga2@gmail.com>
Thu, 11 Mar 2021 02:02:19 +0000 (21:02 -0500)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Thu, 8 Apr 2021 07:37:27 +0000 (15:37 +0800)
commit963785d96cfdf28f8181124950bc2a11255b4e7f
tree360e9e9a07ecfac53727614ea5bee42ac1dc9b80
parent64e5395575a3c7d24fb78461aab581b6df811f9e
wdt: dw: Enable the clock before using it

The watchdog won't work if the clock isn't enabled.

Fixes: 0c4cd0af083cb1d27def8d3da028fb7543f4a048
Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/watchdog/designware_wdt.c