linux/drivers/iio/proximity
Jonathan Cameron 59ee01f392 iio: proximity: as3935: Fix alignment for DMA safety
[ Upstream commit 2386c0f8c5 ]

____cacheline_aligned is an insufficient guarantee for non-coherent DMA
on platforms with 128 byte cachelines above L1.  Switch to the updated
IIO_DMA_MINALIGN definition.

Fixes: 24ddb0e4bb ("iio: Add AS3935 lightning sensor support")
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Matt Ranostay <mranostay@gmail.com>
Acked-by: Nuno Sá <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20220508175712.647246-87-jic23@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2022-08-17 15:15:19 +02:00
..
as3935.c iio: proximity: as3935: Fix alignment for DMA safety 2022-08-17 15:15:19 +02:00
cros_ec_mkbp_proximity.c iio: proximity: Add a ChromeOS EC MKBP proximity driver 2021-03-25 19:13:50 +00:00
isl29501.c iio: prox: isl29501: Fix buffer alignment in iio_push_to_buffers_with_timestamp() 2021-06-16 14:53:13 +01:00
Kconfig iio:proximity:sx9360: Add sx9360 support 2022-01-23 18:03:33 +00:00
Makefile iio:proximity:sx9360: Add sx9360 support 2022-01-23 18:03:33 +00:00
mb1232.c iio: proximity: mb1232: Switch to use fwnode_irq_get() 2022-04-28 19:28:41 +01:00
ping.c iio: proximity: ping: Replace OF specific code by device_get_match_data() 2022-04-28 19:22:55 +01:00
pulsedlight-lidar-lite-v2.c iio:proximity:pulsedlight: Switch from CONFIG_PM guards to pm_ptr() etc 2022-02-21 19:33:04 +00:00
rfd77402.c iio:proximity:rfd77492: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr() etc 2022-02-18 11:46:03 +00:00
srf04.c iio:proximity:srf04: White space cleanup of spacing around {} in id tables 2022-01-23 18:03:34 +00:00
srf08.c iio:proximity:srf08: White space cleanup of spacing around {} in id tables 2022-01-23 18:03:34 +00:00
sx9310.c iio:proximity:sx9310: Extract common Semtech sensor logic 2022-01-23 18:03:33 +00:00
sx9324.c iio: sx9324: Fix register field spelling 2022-08-17 15:15:07 +02:00
sx9360.c iio: sx9360: fix iio event generation 2022-01-30 12:39:16 +00:00
sx9500.c iio:proximity:sx9500: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr() etc 2022-02-18 11:46:03 +00:00
sx_common.c iio:proximity:sx_common: Fix device property parsing on DT systems 2022-04-04 09:19:01 +01:00
sx_common.h iio:proximity:sx9310: Extract common Semtech sensor logic 2022-01-23 18:03:33 +00:00
vcnl3020.c iio: proximity: vcnl3020: remove iio_claim/release_direct 2021-07-24 16:07:17 +01:00
vl53l0x-i2c.c iio: proximity: vl53l0x: Fix return value check of wait_for_completion_timeout 2022-04-28 19:22:55 +01:00