commit | 4861a007bfd71a9fc0a83cc7fad41dda9bf8b5b7 | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Tue May 19 15:37:02 2015 +0200 |
committer | Jonathan Cameron <jic23@kernel.org> | Sun Jun 07 17:58:28 2015 +0100 |
tree | da2f7a5ecfcac29630e81ec33383b8f43003c1bf | |
parent | bf04c1a367e3d52b2e071cc7c7047c27dc1c3c5f [diff] |
iio: st_accel: support 8bit channel data Some sensors like the LIS331DL only support 8bit data by a single register per axis. These utilize the MSB byte. Make it possible to register these apropriately. A oneliner change is needed in the ST sensors core to handle 8bit reads as this is the first supported 8bit sensor. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Denis Ciocca <denis.ciocca@st.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>