forked from Minki/linux
iio: use iio_push_to_buffer() in at91 driver
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>
This commit is contained in:
parent
e1562ef304
commit
1217c48f51
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user