Skip to content

Commit ee0cd47

Browse files
ribaldagregkh
authored andcommitted
i2c: piix4: Fix request_region size
[ Upstream commit f43128c75202f29ee71aa83e6c320a911137c189 ] Since '701dc207bf55 ("i2c: piix4: Avoid race conditions with IMC")' we are using the SMBSLVCNT register at offset 0x8. We need to request it. Fixes: 701dc207bf55 ("i2c: piix4: Avoid race conditions with IMC") Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Wolfram Sang <wsa@the-dreams.de> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 68cac07 commit ee0cd47

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/i2c/busses/i2c-piix4.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
#define SMBSLVDAT (0xC + piix4_smba)
5555

5656
/* count for request_region */
57-
#define SMBIOSIZE 8
57+
#define SMBIOSIZE 9
5858

5959
/* PCI Address Constants */
6060
#define SMBBA 0x090

0 commit comments

Comments
 (0)