diff options
Diffstat (limited to 'drivers/i2c/busses/i2c-i801.c')
-rw-r--r-- | drivers/i2c/busses/i2c-i801.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/drivers/i2c/busses/i2c-i801.c b/drivers/i2c/busses/i2c-i801.c index 9717ffe12921..965905fb5d56 100644 --- a/drivers/i2c/busses/i2c-i801.c +++ b/drivers/i2c/busses/i2c-i801.c | |||
@@ -138,11 +138,6 @@ static int i801_transaction(int xact) | |||
138 | int result = 0; | 138 | int result = 0; |
139 | int timeout = 0; | 139 | int timeout = 0; |
140 | 140 | ||
141 | dev_dbg(&I801_dev->dev, "Transaction (pre): CNT=%02x, CMD=%02x, " | ||
142 | "ADD=%02x, DAT0=%02x, DAT1=%02x\n", inb_p(SMBHSTCNT), | ||
143 | inb_p(SMBHSTCMD), inb_p(SMBHSTADD), inb_p(SMBHSTDAT0), | ||
144 | inb_p(SMBHSTDAT1)); | ||
145 | |||
146 | /* Make sure the SMBus host is ready to start transmitting */ | 141 | /* Make sure the SMBus host is ready to start transmitting */ |
147 | /* 0x1f = Failed, Bus_Err, Dev_Err, Intr, Host_Busy */ | 142 | /* 0x1f = Failed, Bus_Err, Dev_Err, Intr, Host_Busy */ |
148 | if ((temp = (0x1f & inb_p(SMBHSTSTS))) != 0x00) { | 143 | if ((temp = (0x1f & inb_p(SMBHSTSTS))) != 0x00) { |
@@ -202,10 +197,6 @@ static int i801_transaction(int xact) | |||
202 | dev_dbg(&I801_dev->dev, "Failed reset at end of transaction " | 197 | dev_dbg(&I801_dev->dev, "Failed reset at end of transaction " |
203 | "(%02x)\n", temp); | 198 | "(%02x)\n", temp); |
204 | } | 199 | } |
205 | dev_dbg(&I801_dev->dev, "Transaction (post): CNT=%02x, CMD=%02x, " | ||
206 | "ADD=%02x, DAT0=%02x, DAT1=%02x\n", inb_p(SMBHSTCNT), | ||
207 | inb_p(SMBHSTCMD), inb_p(SMBHSTADD), inb_p(SMBHSTDAT0), | ||
208 | inb_p(SMBHSTDAT1)); | ||
209 | return result; | 200 | return result; |
210 | } | 201 | } |
211 | 202 | ||
@@ -293,11 +284,6 @@ static int i801_block_transaction_byte_by_byte(union i2c_smbus_data *data, | |||
293 | } | 284 | } |
294 | outb_p(smbcmd | ENABLE_INT9, SMBHSTCNT); | 285 | outb_p(smbcmd | ENABLE_INT9, SMBHSTCNT); |
295 | 286 | ||
296 | dev_dbg(&I801_dev->dev, "Block (pre %d): CNT=%02x, CMD=%02x, " | ||
297 | "ADD=%02x, DAT0=%02x, DAT1=%02x, BLKDAT=%02x\n", i, | ||
298 | inb_p(SMBHSTCNT), inb_p(SMBHSTCMD), inb_p(SMBHSTADD), | ||
299 | inb_p(SMBHSTDAT0), inb_p(SMBHSTDAT1), inb_p(SMBBLKDAT)); | ||
300 | |||
301 | /* Make sure the SMBus host is ready to start transmitting */ | 287 | /* Make sure the SMBus host is ready to start transmitting */ |
302 | temp = inb_p(SMBHSTSTS); | 288 | temp = inb_p(SMBHSTSTS); |
303 | if (i == 1) { | 289 | if (i == 1) { |
@@ -381,10 +367,6 @@ static int i801_block_transaction_byte_by_byte(union i2c_smbus_data *data, | |||
381 | "Bad status (%02x) at end of transaction\n", | 367 | "Bad status (%02x) at end of transaction\n", |
382 | temp); | 368 | temp); |
383 | } | 369 | } |
384 | dev_dbg(&I801_dev->dev, "Block (post %d): CNT=%02x, CMD=%02x, " | ||
385 | "ADD=%02x, DAT0=%02x, DAT1=%02x, BLKDAT=%02x\n", i, | ||
386 | inb_p(SMBHSTCNT), inb_p(SMBHSTCMD), inb_p(SMBHSTADD), | ||
387 | inb_p(SMBHSTDAT0), inb_p(SMBHSTDAT1), inb_p(SMBBLKDAT)); | ||
388 | 370 | ||
389 | if (result < 0) | 371 | if (result < 0) |
390 | return result; | 372 | return result; |