MLK-22392: watchdog: imx8_wdt: correct pretimeout
authorRobin Gong <yibin.gong@nxp.com>
Thu, 8 Aug 2019 17:34:00 +0000 (01:34 +0800)
committerRobin Gong <yibin.gong@nxp.com>
Tue, 22 Oct 2019 17:36:26 +0000 (01:36 +0800)
commit362180fd7ae0c2e474adfdd3d056e2c3d519e012
treeacd3513d8b81c7d70d12071cbfc6bb318eb6ede3
parent458ddff37e50ae55502d9b00a032a039199efe73
MLK-22392: watchdog: imx8_wdt: correct pretimeout

scfw think 'new_pretimeout' as the time stamp from now, not
the time before watchdog timeout which is different with kernel
define. Convert it to scfw's format.

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Reviewed-by: Anson Huang <anson.huang@nxp.com>
(cherry picked from commit 674332ac12ddf593d89e87517573b31be2bbead3)
drivers/watchdog/imx8_wdt.c