提交 f43128c7 编写于 作者: R Ricardo Ribalda 提交者: Wolfram Sang

i2c: piix4: Fix request_region size

Since '701dc207 ("i2c: piix4: Avoid race conditions with IMC")' we
are using the SMBSLVCNT register at offset 0x8. We need to request it.

Fixes: 701dc207 ("i2c: piix4: Avoid race conditions with IMC")
Signed-off-by: NRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: NJean Delvare <jdelvare@suse.de>
Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
上级 d5adbfcd
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
#define SMBSLVDAT (0xC + piix4_smba) #define SMBSLVDAT (0xC + piix4_smba)
/* count for request_region */ /* count for request_region */
#define SMBIOSIZE 8 #define SMBIOSIZE 9
/* PCI Address Constants */ /* PCI Address Constants */
#define SMBBA 0x090 #define SMBBA 0x090
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册