Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 215609
b: refs/heads/master
c: bf5d95c
h: refs/heads/master
i:
  215607: 8e4adea
v: v3
  • Loading branch information
Jean Delvare authored and Jean Delvare committed Oct 24, 2010
1 parent 300a385 commit b72ba27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: db79f2a1d259a9026241dd0f192c20d6264d5afa
refs/heads/master: bf5d95c82692ead9ba7876af73dac2edcc8a6191
8 changes: 1 addition & 7 deletions trunk/drivers/i2c/busses/i2c-viapro.c
Original file line number Diff line number Diff line change
Expand Up @@ -185,14 +185,8 @@ static int vt596_transaction(u8 size)
}

if (temp & 0x04) {
int read = inb_p(SMBHSTADD) & 0x01;
result = -ENXIO;
/* The quick and receive byte commands are used to probe
for chips, so errors are expected, and we don't want
to frighten the user. */
if (!((size == VT596_QUICK && !read) ||
(size == VT596_BYTE && read)))
dev_err(&vt596_adapter.dev, "Transaction error!\n");
dev_dbg(&vt596_adapter.dev, "No response\n");
}

/* Resetting status register */
Expand Down

0 comments on commit b72ba27

Please sign in to comment.