wdt: add option to avoid the wdt is disabled casually [1/1]
authorXingyu Chen <xingyu.chen@amlogic.com>
Wed, 9 Oct 2019 02:34:55 +0000 (10:34 +0800)
committerXingyu Chen <xingyu.chen@amlogic.com>
Wed, 9 Oct 2019 03:50:27 +0000 (11:50 +0800)
commit762679c950ca941260a8fabb232ed96bfe01b1cb
tree6b8d540893473747f966463275aed5b783b277ea
parentf39a25688818c4a56ae7a41a34f5981a45c1806e
wdt: add option to avoid the wdt is disabled casually [1/1]

PD#SWPL-14925

Problem:
The system can't be reset by wdt which is fed by the tv-service
when the tv-service is abnormally hanged.

Solution:
Add extra option to avoid the wdt is disabled when the fed dog
thread aborts, but we can disable wdt when certain condition is
met.

Verify:
test pass on customer board

Change-Id: I1fd5ff4e36f06bda99726c0a2ced399299596f95
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
drivers/amlogic/watchdog/meson_wdt.c