Skip to content

Commit

Permalink
iio: use iio_push_to_buffer() in at91 driver
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
  • Loading branch information
Peter Meerwald authored and Jonathan Cameron committed Oct 19, 2012
1 parent e1562ef commit 1217c48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/iio/adc/at91_adc.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ static irqreturn_t at91_adc_trigger_handler(int irq, void *p)
*timestamp = pf->timestamp;
}

buffer->access->store_to(buffer, (u8 *)st->buffer);
iio_push_to_buffer(buffer, st->buffer);

iio_trigger_notify_done(idev->trig);

Expand Down

0 comments on commit 1217c48

Please sign in to comment.