]> git.dujemihanovic.xyz Git - u-boot.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)
commit4cb0ab4ebcffbeee93d9bdb4e8ee831e16bc8d2c
tree360e9e9a07ecfac53727614ea5bee42ac1dc9b80
parent7d8394366a3b1a8bcbc4ea3460ff5c0901335731
wdt: dw: Enable the clock before using it

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

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