]> git.dujemihanovic.xyz Git - u-boot.git/commit
wdt: dw: Free the clock on error
authorSean Anderson <seanga2@gmail.com>
Thu, 11 Mar 2021 02:02:20 +0000 (21:02 -0500)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Thu, 8 Apr 2021 07:37:27 +0000 (15:37 +0800)
commit97bcdd28addde4233b6c53c03712eed5a807854c
tree91e743c19f7cc8e9417447e7b9817503a02e022d
parent4cb0ab4ebcffbeee93d9bdb4e8ee831e16bc8d2c
wdt: dw: Free the clock on error

The clock subsystem requires that clk_free be called on clocks obtained via
clk_get_*.

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