]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: iTCO_wdt: Make ICH_RES_IO_SMI optional
authorMika Westerberg <mika.westerberg@linux.intel.com>
Wed, 26 Feb 2020 13:21:21 +0000 (16:21 +0300)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 10 Mar 2020 09:20:37 +0000 (10:20 +0100)
commit7f78ecead627c5695885572c7e6951e9c002073c
tree676339aef13e97682bba026bf9e64e077ad1f7b1
parent56d785ea072d297b47017f244553ce72f4199713
watchdog: iTCO_wdt: Make ICH_RES_IO_SMI optional

The iTCO_wdt driver only needs ICH_RES_IO_SMI I/O resource when either
turn_SMI_watchdog_clear_off module parameter is set to match ->iTCO_version
(or higher), and when legacy iTCO_vendorsupport is set. Modify the driver
so that ICH_RES_IO_SMI is optional if the two conditions are not met.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/watchdog/iTCO_wdt.c