]> git.baikalelectronics.ru Git - kernel.git/commit
iio: accel: adxl372: Set iio_chan BE
authorAlexandru Tachici <alexandru.tachici@analog.com>
Wed, 19 Feb 2020 14:31:12 +0000 (16:31 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 8 Mar 2020 16:21:21 +0000 (16:21 +0000)
commit2a79af4c1c496bbbc4559c35792410ecc6394d61
tree1258bb1fc62d04b30ca1ca201b5fccc8897b36c7
parente86d17fe4982dc1d0f029e55e35a4deefc3a43d8
iio: accel: adxl372: Set iio_chan BE

Data stored in the iio-buffer is BE and this
should be specified in the iio_chan_spec struct.

Fixes: e7526a60ae643 ("iio:adxl372: Add FIFO and interrupts support")
Signed-off-by: Alexandru Tachici <alexandru.tachici@analog.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/accel/adxl372.c