Commit 9476b8f0 authored by Wang Wensheng's avatar Wang Wensheng Committed by Yang Yingliang
Browse files

watchdog: Add interface to config timeout and pretimeout in sysfs



ascend inclusion
category: feature
bugzilla: NA
CVE: NA

Those interfaces exist already in sysfs of watchdog driver core, but
they are readonly. This patch add write hook so we can config timeout
and pretimeout by writing those files.

Use Kconfig ASCEND_WATCHDOG_SYSFS_CONFIGURE to select this feature.

Signed-off-by: default avatarWang Wensheng <wangwensheng4@huawei.com>
Acked-by: default avatarWeilong Chen <chenweilong@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 1180dc6a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment