]> www.infradead.org Git - users/jedix/linux-maple.git/commit
watchdog: hpwdt: Add support for WDIOC_SETOPTIONS
authorJean Delvare <jdelvare@suse.de>
Sun, 21 Jun 2015 07:32:33 +0000 (09:32 +0200)
committerChuck Anderson <chuck.anderson@oracle.com>
Mon, 27 Feb 2017 19:26:07 +0000 (11:26 -0800)
commita8a232ebad2730fb1f801e585df387896847c3b8
tree99f9acd229c68de31f20b38b1db50b97dc9dca9c
parent93f657ae63f19f96d45097b45d6841d7815bac69
watchdog: hpwdt: Add support for WDIOC_SETOPTIONS

Orabug: 25505543

WDIOC_SETOPTIONS makes it possible to disable and re-enable the
watchdog timer while the hpwdt driver is loaded.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
(cherry picked from commit 46c80b20d07e9309677d81e1226dc30a055b63b7)
Signed-off-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Reviewed-by: Jack Vogel <jack.vogel@oracle.com>
drivers/watchdog/hpwdt.c