mirror of https://gitee.com/openkylin/linux.git
i2c-i801: Typo: erroneous
Signed-off-by: Jean Delvare <khali@linux-fr.org>
This commit is contained in:
parent
39d3520c92
commit
002cf63191
|
@ -272,11 +272,11 @@ static int i801_block_transaction_byte_by_byte(union i2c_smbus_data *data,
|
||||||
/* Make sure the SMBus host is ready to start transmitting */
|
/* Make sure the SMBus host is ready to start transmitting */
|
||||||
temp = inb_p(SMBHSTSTS);
|
temp = inb_p(SMBHSTSTS);
|
||||||
if (i == 1) {
|
if (i == 1) {
|
||||||
/* Erronenous conditions before transaction:
|
/* Erroneous conditions before transaction:
|
||||||
* Byte_Done, Failed, Bus_Err, Dev_Err, Intr, Host_Busy */
|
* Byte_Done, Failed, Bus_Err, Dev_Err, Intr, Host_Busy */
|
||||||
errmask = 0x9f;
|
errmask = 0x9f;
|
||||||
} else {
|
} else {
|
||||||
/* Erronenous conditions during transaction:
|
/* Erroneous conditions during transaction:
|
||||||
* Failed, Bus_Err, Dev_Err, Intr */
|
* Failed, Bus_Err, Dev_Err, Intr */
|
||||||
errmask = 0x1e;
|
errmask = 0x1e;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue