Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 317814
b: refs/heads/master
c: a4eef30
h: refs/heads/master
v: v3
  • Loading branch information
Lars-Peter Clausen authored and Jonathan Cameron committed Jul 8, 2012
1 parent ac93a76 commit 4a94cb1
Show file tree
Hide file tree
Showing 2 changed files with 4 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: abad65cbb2b53be39e8f55f9511cc53756860b1c
refs/heads/master: a4eef3057dff597099673c42f8e3d0455deb9fe1
4 changes: 3 additions & 1 deletion trunk/drivers/staging/iio/adc/adt7310.c
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ static irqreturn_t adt7310_event_handler(int irq, void *private)

ret = adt7310_spi_read_byte(chip, ADT7310_STATUS, &status);
if (ret)
return ret;
goto done;

if (status & ADT7310_STAT_T_HIGH)
iio_push_event(indio_dev,
Expand All @@ -417,6 +417,8 @@ static irqreturn_t adt7310_event_handler(int irq, void *private)
IIO_EV_TYPE_THRESH,
IIO_EV_DIR_RISING),
timestamp);

done:
return IRQ_HANDLED;
}

Expand Down

0 comments on commit 4a94cb1

Please sign in to comment.