Skip to content

Commit

Permalink
i2c: piix4: Fix request_region size
Browse files Browse the repository at this point in the history
Since '701dc207bf55 ("i2c: piix4: Avoid race conditions with IMC")' we
are using the SMBSLVCNT register at offset 0x8. We need to request it.

Fixes: 701dc20 ("i2c: piix4: Avoid race conditions with IMC")
Signed-off-by: Ricardo Ribalda Delgado <[email protected]>
Signed-off-by: Jean Delvare <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
  • Loading branch information
ribalda authored and Wolfram Sang committed Feb 9, 2017
1 parent d5adbfc commit f43128c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/i2c/busses/i2c-piix4.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
#define SMBSLVDAT (0xC + piix4_smba)

/* count for request_region */
#define SMBIOSIZE 8
#define SMBIOSIZE 9

/* PCI Address Constants */
#define SMBBA 0x090
Expand Down

0 comments on commit f43128c

Please sign in to comment.