u8 sample_rate_idx;
        struct iio_trigger *dready_trig;
        bool dready_trigger_on;
-       /*
-        * 3 x 16-bit channels (10-bit data, 6-bit padding) +
-        * 1 x 16 padding +
-        * 4 x 16 64-bit timestamp
-        */
-       s16 buffer[8];
+       /* Ensure timestamp is naturally aligned */
+       struct {
+               s16 chans[3];
+               s64 timetamp __aligned(8);
+       } scan;
 };
 
 #define STK8BA50_ACCEL_CHANNEL(index, reg, axis) {                     \
                ret = i2c_smbus_read_i2c_block_data(data->client,
                                                    STK8BA50_REG_XOUT,
                                                    STK8BA50_ALL_CHANNEL_SIZE,
-                                                   (u8 *)data->buffer);
+                                                   (u8 *)data->scan.chans);
                if (ret < STK8BA50_ALL_CHANNEL_SIZE) {
                        dev_err(&data->client->dev, "register read failed\n");
                        goto err;
                        if (ret < 0)
                                goto err;
 
-                       data->buffer[i++] = ret;
+                       data->scan.chans[i++] = ret;
                }
        }
-       iio_push_to_buffers_with_timestamp(indio_dev, data->buffer,
+       iio_push_to_buffers_with_timestamp(indio_dev, &data->scan,
                                           pf->timestamp);
 err:
        mutex_unlock(&data->lock);