Commit f43128c7 authored by Ricardo Ribalda's avatar Ricardo Ribalda Committed by 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: default avatarRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: default avatarJean Delvare <jdelvare@suse.de>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment