Re: [PATCH 06/15] iio: sx9310: Align memory

2020-07-29 Thread Andy Shevchenko
On Wed, Jul 29, 2020 at 12:26 AM Daniel Campello wrote: > On Tue, Jul 28, 2020 at 12:11 PM Andy Shevchenko > wrote: > > On Tue, Jul 28, 2020 at 6:15 PM Daniel Campello > > wrote: ... > > > - __be16 buffer[SX9310_NUM_CHANNELS + > > > - 4]; /* 64-bit data + 64-bit

Re: [PATCH 06/15] iio: sx9310: Align memory

2020-07-28 Thread Daniel Campello
On Tue, Jul 28, 2020 at 12:11 PM Andy Shevchenko wrote: > > On Tue, Jul 28, 2020 at 6:15 PM Daniel Campello wrote: > > > > Use __aligned(8) to ensure that the timestamp is correctly aligned > > when we call push_to_buffers > > > > Signed-off-by: Daniel Campello > > --- > > > >

Re: [PATCH 06/15] iio: sx9310: Align memory

2020-07-28 Thread Andy Shevchenko
On Tue, Jul 28, 2020 at 6:15 PM Daniel Campello wrote: > > Use __aligned(8) to ensure that the timestamp is correctly aligned > when we call push_to_buffers > > Signed-off-by: Daniel Campello > --- > > drivers/iio/proximity/sx9310.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-)

[PATCH 06/15] iio: sx9310: Align memory

2020-07-28 Thread Daniel Campello
Use __aligned(8) to ensure that the timestamp is correctly aligned when we call push_to_buffers Signed-off-by: Daniel Campello --- drivers/iio/proximity/sx9310.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/iio/proximity/sx9310.c