Re: [PATCH v3 06/15] iio: sx9310: Fixes various memory handling

2020-08-01 Thread Jonathan Cameron
On Fri, 31 Jul 2020 22:24:47 +0300 Andy Shevchenko wrote: > On Fri, Jul 31, 2020 at 7:49 PM Daniel Campello wrote: > > > > Makes use __aligned(8) to ensure that the timestamp is correctly aligned > > when we call io_push_to_buffers_with_timestamp(). > > Also makes use of sizeof() for

Re: [PATCH v3 06/15] iio: sx9310: Fixes various memory handling

2020-07-31 Thread Andy Shevchenko
On Fri, Jul 31, 2020 at 7:49 PM Daniel Campello wrote: > > Makes use __aligned(8) to ensure that the timestamp is correctly aligned > when we call io_push_to_buffers_with_timestamp(). > Also makes use of sizeof() for regmap_bulk_read instead of static value. Reviewed-by: Andy Shevchenko >

[PATCH v3 06/15] iio: sx9310: Fixes various memory handling

2020-07-31 Thread Daniel Campello
Makes use __aligned(8) to ensure that the timestamp is correctly aligned when we call io_push_to_buffers_with_timestamp(). Also makes use of sizeof() for regmap_bulk_read instead of static value. Signed-off-by: Daniel Campello --- Changes in v3: - Changed buffer to struct type to align