mfd: lpc_ich: Do not create iTCO watchdog when WDAT table exists
authorMika Westerberg <mika.westerberg@linux.intel.com>
Tue, 20 Sep 2016 12:30:52 +0000 (15:30 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 28 Sep 2016 21:07:20 +0000 (23:07 +0200)
commit3413f702fae096184ad8bd9be9d7ecbc7c182bd7
tree84ad807a3f3137bd0d0b0ba7157b225d6aa814e2
parent058dfc7670086edda8d34f0dbe93c596db5d4a6b
mfd: lpc_ich: Do not create iTCO watchdog when WDAT table exists

ACPI WDAT table is the preferred way to use hardware watchdog over the
native iTCO_wdt. Windows only uses this table for its hardware watchdog
implementation so we should be relatively safe to trust it has been
validated by OEMs

Prevent iTCO watchdog creation if we detect that there is ACPI WDAT table.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/mfd/lpc_ich.c