linux-yocto/drivers/iio/temperature
Jonathan Cameron 85d430aef4 iio: temp: maxim-thermocouple: Fix potential lack of DMA safe buffer.
[ Upstream commit f79aeb6c63 ]

The trick of using __aligned(IIO_DMA_MINALIGN) ensures that there is
no overlap between buffers used for DMA and those used for driver
state storage that are before the marking. It doesn't ensure
anything above state variables found after the marking. Hence
move this particular bit of state earlier in the structure.

Fixes: 10897f3430 ("iio: temp: maxim_thermocouple: Fix alignment for DMA safety")
Reviewed-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20250413103443.2420727-14-jic23@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-05-18 08:24:09 +02:00
..
hid-sensor-temperature.c
iqs620at-temp.c
Kconfig iio: temperature: Add driver support for Maxim MAX30208 2022-11-23 20:20:32 +00:00
ltc2983.c iio: temperature: ltc2983: support more parts 2022-11-23 19:54:00 +00:00
Makefile iio: temperature: Add driver support for Maxim MAX30208 2022-11-23 20:20:32 +00:00
max30208.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
max31856.c
max31865.c
maxim_thermocouple.c iio: temp: maxim-thermocouple: Fix potential lack of DMA safe buffer. 2025-05-18 08:24:09 +02:00
mlx90614.c iio: adc: Explicitly include correct DT includes 2023-07-23 13:38:13 +01:00
mlx90632.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
tmp006.c iio: temperature: tmp006: Add OF device matching support 2023-05-28 20:22:03 +01:00
tmp007.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
tmp117.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
tsys01.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
tsys02d.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00