]> git.dujemihanovic.xyz Git - u-boot.git/commit
watchdog: max6370: use __udelay() to avoid recursion
authorPali Rohár <pali@kernel.org>
Tue, 27 Sep 2022 10:19:19 +0000 (12:19 +0200)
committerStefan Roese <sr@denx.de>
Tue, 27 Sep 2022 10:25:51 +0000 (12:25 +0200)
commitc5f5ee373267d8a73b44ffa0de0d0a1a08115d8f
tree14234131c17db9f5d80862719ca296a4accde3a8
parent51443c9a499989f698a2921e72156713fe1a6bc2
watchdog: max6370: use __udelay() to avoid recursion

The udelay() function in lib/time.c contains a WATCHDOG_RESET()
call. So use __udelay() in max6370_wdt.c to prevent recursion.

Fixes: 0a095fc53b15 ("watchdog: Add MAX6370 watchdog timer driver")
Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/watchdog/max6370_wdt.c