]> git.baikalelectronics.ru Git - kernel.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)
commit2a9103d907dca94bc82a92836f4227fc91377f59
tree98dc064de5097f1ca9c91b39b0dcbcb63d4e645e
parentbe3e9a509bb163d6bab631682bf78bc7b9a17102
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