linux-uconsole/include/linux/iio
Jonathan Cameron 71dbba0b95 iio: cros_ec_sensors: Fix alignment of buffer in iio_push_to_buffers_with_timestamp()
[ Upstream commit 8dea228b17 ]

The samples buffer is passed to iio_push_to_buffers_with_timestamp()
which requires a buffer aligned to 8 bytes as it is assumed that
the timestamp will be naturally aligned if present.

Fixes tag is inaccurate but prior to that likely manual backporting needed
(for anything before 4.18) Earlier than that the include file to fix is
drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.h:
commit 974e6f02e2 ("iio: cros_ec_sensors_core: Add common functions
for the ChromeOS EC Sensor Hub.") present since kernel stable 4.10.
(Thanks to Gwendal for tracking this down)

Fixes: 5a0b8cb466 ("iio: cros_ec: Move cros_ec_sensors_core.h in /include")
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Gwendal Grignou <gwendal@chromium.org
Link: https://lore.kernel.org/r/20210501171352.512953-7-jic23@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-14 16:56:37 +02:00
..
accel
adc iio: ad_sigma_delta: Don't put SPI transfer buffer on the stack 2020-12-30 11:54:19 +01:00
common iio: cros_ec_sensors: Fix alignment of buffer in iio_push_to_buffers_with_timestamp() 2021-07-14 16:56:37 +02:00
dac
frequency
gyro
imu iio: adis. Drop adis_burst struct 2020-09-21 20:01:45 +01:00
timer
buffer-dma.h
buffer-dmaengine.h iio: buffer-dmaengine: remove non managed alloc/free 2020-09-29 17:27:06 +01:00
buffer.h
buffer_impl.h
configfs.h
consumer.h iio: inkern: drop devm_iio_channel_release{_all} API calls 2020-04-19 16:56:37 +01:00
driver.h
events.h
hw-consumer.h iio: buffer: drop devm_iio_hw_consumer_free() API call 2020-04-19 16:56:37 +01:00
iio-opaque.h iio: core: move event interface on the opaque struct 2020-07-07 20:24:07 +01:00
iio.h Staging / IIO driver updates for 5.10-rc1 2020-10-15 09:46:23 -07:00
kfifo_buf.h iio: buffer: drop devm_iio_kfifo_free() API call 2020-04-19 16:56:38 +01:00
machine.h
sw_device.h
sw_trigger.h
sysfs.h
trigger.h iio: core: drop devm_iio_trigger_unregister() API call 2020-04-19 16:56:36 +01:00
trigger_consumer.h iio: Add __printf() attributes to various allocation functions 2020-09-21 18:54:18 +01:00
triggered_buffer.h iio: core: drop devm_iio_triggered_buffer_cleanup() API call 2020-04-19 16:56:35 +01:00
triggered_event.h
types.h iio: temperature: mlx90632: Interface to change object ambient temperature 2020-09-13 10:21:37 +01:00