Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 12103
b: refs/heads/master
c: fbd9a6d
h: refs/heads/master
i:
  12101: b69cf65
  12099: ed4a979
  12095: 4d32673
v: v3
  • Loading branch information
Dan Williams authored and Russell King committed Nov 1, 2005
1 parent 1ab3512 commit e120a5b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 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: d01e8897fcf597f62d84f626fdced8d94c70deaf
refs/heads/master: fbd9a6d7a927b2059d1d65441384ffb095f68e58
9 changes: 5 additions & 4 deletions trunk/drivers/i2c/busses/i2c-iop3xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*
* Copyright (C) 1995-1997 Simon G. Vogl, 1998-2000 Hans Berglund
*
* And which acknowledged Kyösti Mälkki <kmalkki@cc.hut.fi>,
* And which acknowledged Kyösti Mälkki <kmalkki@cc.hut.fi>,
* Frodo Looijaard <frodol@dds.nl>, Martin Bailey<mbailey@littlefeet-inc.com>
*
* Major cleanup by Deepak Saxena <dsaxena@plexity.net>, 01/2005:
Expand Down Expand Up @@ -184,7 +184,7 @@ iop3xx_i2c_wait_event(struct i2c_algo_iop3xx_data *iop3xx_adap,
do {
interrupted = wait_event_interruptible_timeout (
iop3xx_adap->waitq,
(done = compare( sr = iop3xx_i2c_get_srstat(iop3xx_adap) ,flags )),
(done = compare( sr = iop3xx_i2c_get_srstat(iop3xx_adap) ,flags )),
1 * HZ;
);
if ((rc = iop3xx_i2c_error(sr)) < 0) {
Expand Down Expand Up @@ -472,9 +472,10 @@ iop3xx_i2c_probe(struct device *dev)
goto release_region;
}

res = request_irq(platform_get_irq(pdev, 0), iop3xx_i2c_irq_handler, 0,
ret = request_irq(platform_get_irq(pdev, 0), iop3xx_i2c_irq_handler, 0,
pdev->name, adapter_data);
if (res) {

if (ret) {
ret = -EIO;
goto unmap;
}
Expand Down

0 comments on commit e120a5b

Please sign in to comment.