diff options
author | Vasileios Amoiridis <vassilisamir@gmail.com> | 2024-02-19 20:13:59 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-02-24 17:57:07 +0000 |
commit | a9dd9ba323114f366eb07f1d9630822f8df6cbb2 (patch) | |
tree | b8024b6b83691a1afcf37481f0d3a78faac7f720 /drivers/iio/test | |
parent | 60caa8b33bd682a9ed99d1fc3f91d74e1acc9922 (diff) |
iio: pressure: Fixes BMP38x and BMP390 SPI support
According to the datasheet of BMP38x and BMP390 devices, for an SPI
read operation the first byte that is returned needs to be dropped,
and the rest of the bytes are the actual data returned from the
sensor.
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Fixes: 8d329309184d ("iio: pressure: bmp280: Add support for BMP380 sensor family")
Signed-off-by: Vasileios Amoiridis <vassilisamir@gmail.com>
Acked-by: Angel Iglesias <ang.iglesiasg@gmail.com>
Link: https://lore.kernel.org/r/20240219191359.18367-1-vassilisamir@gmail.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/test')
0 files changed, 0 insertions, 0 deletions