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)
commitcb2116ff97859d34fda6cb561ac654415f4c6230
tree1258bb1fc62d04b30ca1ca201b5fccc8897b36c7
parentb500c086e4110829a308c23e83a7cdc65b26228a
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: f4f55ce38e5f8 ("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