]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0e1374da449c905d0ef680d0b32dffcb3b4cc974
treea9c4d24c530f120a3f1fc299b8d76c44c32e0e84
parentda3e4a5c78bd38168f853a4b1a8558c0bd488a69
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: 420cfc05c165 ("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