]> git.baikalelectronics.ru Git - kernel.git/commit
iio: proximity: vcnl3020: Drop unnecessary alignment requirement for i2c device
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 8 May 2022 17:57:07 +0000 (18:57 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 14 Jun 2022 10:53:19 +0000 (11:53 +0100)
commit4b329859496e8297f49b0f2a6d2b0283b623c849
tree11bb3eeac955d638839df39f6a691863255489c1
parent5b2dd6366f10929b68b58c3d959fbb871b9c27d9
iio: proximity: vcnl3020: Drop unnecessary alignment requirement for i2c device

I2C does not by default use buffers directly for DMA so there is
no need to ensure they are DMA safe.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Ivan Mikhaylov <i.mikhaylov@yadro.com>
Acked-by: Nuno Sá <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20220508175712.647246-88-jic23@kernel.org
drivers/iio/proximity/vcnl3020.c