summaryrefslogtreecommitdiff
path: root/src/southbridge
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge')
-rw-r--r--src/southbridge/intel/common/smbus.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/southbridge/intel/common/smbus.c b/src/southbridge/intel/common/smbus.c
index a842a61222..9ae01ad178 100644
--- a/src/southbridge/intel/common/smbus.c
+++ b/src/southbridge/intel/common/smbus.c
@@ -74,7 +74,10 @@ static int host_completed(u8 status)
{
if (status & SMBHSTSTS_HOST_BUSY)
return 0;
- status &= ~(SMBHSTSTS_SMBALERT_STS | SMBHSTSTS_INUSE_STS);
+
+ /* These status bits do not imply completion of transaction. */
+ status &= ~(SMBHSTSTS_BYTE_DONE | SMBHSTSTS_INUSE_STS |
+ SMBHSTSTS_SMBALERT_STS);
return status != 0;
}
@@ -89,8 +92,9 @@ static int recover_master(int smbus_base, int ret)
static int cb_err_from_stat(u8 status)
{
- /* Ignore the "In Use" status... */
- status &= ~(SMBHSTSTS_SMBALERT_STS | SMBHSTSTS_INUSE_STS);
+ /* These status bits do not imply errors. */
+ status &= ~(SMBHSTSTS_BYTE_DONE | SMBHSTSTS_INUSE_STS |
+ SMBHSTSTS_SMBALERT_STS);
if (status == SMBHSTSTS_INTR)
return 0;