MLK-13535 driver: watchdog: fix wdog reset after resume from vlls mode
authorBai Ping <ping.bai@nxp.com>
Tue, 29 Nov 2016 06:52:46 +0000 (14:52 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:52:42 +0000 (14:52 -0500)
commit1a12e39e40de15d6a5c6c7d05ae659047b5819ca
treeb813d702f9b628cb0217b1ed51a42f617f4be9d1
parent046a47acc99357ebacf7b2d175582f3a2d2689ef
MLK-13535 driver: watchdog: fix wdog reset after resume from vlls mode

When resuming from VLLS mode, the wdog will be reset, the first we configure
the wdog, an initial timeout value should be write into the TOVAL register,
otherwise, the wdog will not be initialized successfully.

Signed-off-by: Bai Ping <ping.bai@nxp.com>
drivers/watchdog/imx7ulp_wdt.c