projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1562ef
)
iio: use iio_push_to_buffer() in at91 driver
author
Peter Meerwald
<pmeerw@pmeerw.net>
Sat, 13 Oct 2012 08:06:00 +0000
(09:06 +0100)
committer
Jonathan Cameron
<jic23@kernel.org>
Fri, 19 Oct 2012 15:18:57 +0000
(16:18 +0100)
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>
drivers/iio/adc/at91_adc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/iio/adc/at91_adc.c
b/drivers/iio/adc/at91_adc.c
index b3ba8af4f261210a76fd0e049d77f87faab39e14..2e2c9a80aa37c1eff8e124a1b09bb3e778107054 100644
(file)
--- a/
drivers/iio/adc/at91_adc.c
+++ b/
drivers/iio/adc/at91_adc.c
@@
-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);