]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Apr 2020 07:10:05 +0000 (09:10 +0200)
commit37cdf64d218754cb9eaa4266f7574aba902f8cc1
treeb760d649ae7a3f13894c42ab62ae51f48d4bf34b
parent4494e0a06a5c07def59ee0573716f3504422c562
watchdog: iTCO_wdt: Make ICH_RES_IO_SMI optional

commit e42b0c24389d5a1602e77db4f6def0d5a19e3e43 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/watchdog/iTCO_wdt.c