]> 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)
commite57707b6fb81269d9170bd59d1f9198aa7650b46
treea9c4d24c530f120a3f1fc299b8d76c44c32e0e84
parent7b2194713d53eccab4665ade4879b6c7bb57b11d
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: 0072d57d447f ("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