i2c: i801: fix DNV's SMBCTRL register offset
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 3 Sep 2018 08:24:57 +0000 (11:24 +0300)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 4 Sep 2018 16:04:55 +0000 (18:04 +0200)
commit851a15114895c5bce163a6f2d57e0aa4658a1be4
treea9c4d24c530f120a3f1fc299b8d76c44c32e0e84
parent20fdcd760a63ea66335c58bceb175e7712ab18ff
i2c: i801: fix DNV's SMBCTRL register offset

DNV's iTCO is slightly different with SMBCTRL sitting at a different
offset when compared to all other devices. Let's fix so that we can
properly use iTCO watchdog.

Fixes: 84d7f2ebd70d ("i2c: i801: Add support for Intel DNV")
Cc: <stable@vger.kernel.org> # v4.4+
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-i801.c