]> git.dujemihanovic.xyz Git - u-boot.git/commit
wdt: dw: Fix passing NULL pointer to reset functions
authorSean Anderson <seanga2@gmail.com>
Sat, 11 Sep 2021 19:11:30 +0000 (15:11 -0400)
committerStefan Roese <sr@denx.de>
Mon, 20 Sep 2021 05:39:29 +0000 (07:39 +0200)
commitb31077feca2276f0860706d1843f548baae68aee
tree2e0ebe40489de73984f87ec3429ff7482b0b0ea6
parent3f571228a5340e84123ea7330e2c9cdaea99e733
wdt: dw: Fix passing NULL pointer to reset functions

reset_*_bulk expects a real pointer.

Fixes: 4f7abafe1c ("driver: watchdog: reset watchdog in designware_wdt_stop() function")
Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/watchdog/designware_wdt.c