Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 281239
b: refs/heads/master
c: 29bf626
h: refs/heads/master
i:
  281237: 0f3a817
  281235: 108ecfa
  281231: 2bd4795
v: v3
  • Loading branch information
Jonathan Cameron authored and Greg Kroah-Hartman committed Dec 8, 2011
1 parent 4ac4684 commit d39d017
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: 117cf8b7e879a33b24b7bea7ca598715c4654846
refs/heads/master: 29bf6263af04d9c062693622937d45db014f1d13
5 changes: 2 additions & 3 deletions trunk/drivers/staging/iio/adc/max1363_ring.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,8 @@ static irqreturn_t max1363_trigger_handler(int irq, void *p)
goto done;

time_ns = iio_get_time_ns();

memcpy(rxbuf + d_size - sizeof(s64), &time_ns, sizeof(time_ns));

if (indio_dev->buffer->scan_timestamp)
memcpy(rxbuf + d_size - sizeof(s64), &time_ns, sizeof(time_ns));
indio_dev->buffer->access->store_to(indio_dev->buffer, rxbuf, time_ns);
done:
iio_trigger_notify_done(indio_dev->trig);
Expand Down

0 comments on commit d39d017

Please sign in to comment.