Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 280988
b: refs/heads/master
c: 703a9ce
h: refs/heads/master
v: v3
  • Loading branch information
Michael Hennerich authored and Greg Kroah-Hartman committed Nov 27, 2011
1 parent e65caac commit e7a9a21
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: e15fbc91a4304a977ed99c3eb21bab7015e86c11
refs/heads/master: 703a9ce45abf0ae0221161fbb11952dc528db0b0
3 changes: 2 additions & 1 deletion trunk/drivers/staging/iio/adc/ad7280a.c
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ static irqreturn_t ad7280_event_handler(int irq, void *private)

ret = ad7280_read_all_channels(st, st->scan_cnt, channels);
if (ret < 0)
return IRQ_HANDLED;
goto out;

for (i = 0; i < st->scan_cnt; i++) {
if (((channels[i] >> 23) & 0xF) <= AD7280A_CELL_VOLTAGE_6) {
Expand Down Expand Up @@ -731,6 +731,7 @@ static irqreturn_t ad7280_event_handler(int irq, void *private)
}
}

out:
kfree(channels);

return IRQ_HANDLED;
Expand Down

0 comments on commit e7a9a21

Please sign in to comment.