]> git.karo-electronics.de Git - karo-tx-linux.git/commit
iio:st_sensors: align on storagebits boundaries
authorGregor Boirie <gregor.boirie@parrot.com>
Mon, 27 Jun 2016 10:38:52 +0000 (12:38 +0200)
committerJonathan Cameron <jic23@kernel.org>
Mon, 4 Jul 2016 17:07:45 +0000 (18:07 +0100)
commite7385de5291e347f5bc85985acdce3a3f5096667
tree98dc064de5097f1ca9c91b39b0dcbcb63d4e645e
parentfc6bd7275bd4c1d7fce50c55370b0a3526869bd7
iio:st_sensors: align on storagebits boundaries

Ensure triggered buffering memory accesses are properly aligned on per
channel storagebits boundaries.

Signed-off-by: Gregor Boirie <gregor.boirie@parrot.com>
Tested-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/common/st_sensors/st_sensors_buffer.c
drivers/iio/common/st_sensors/st_sensors_core.c