diff options
author | Vasileios Amoiridis <vassilisamir@gmail.com> | 2024-03-16 14:07:43 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-03-24 14:03:08 +0300 |
commit | 5ca29ea4e4073b3caba750efe155b1bd4c597ca9 (patch) | |
tree | f7ec7f85ec5cd2a4dcf7e2bf9c09377efb5c5ce7 /drivers/iio/pressure/mprls0025pa_i2c.c | |
parent | 546a4f4b5f4d930ea57f5510e109acf08eca5e87 (diff) | |
download | linux-5ca29ea4e4073b3caba750efe155b1bd4c597ca9.tar.xz |
iio: pressure: Fixes SPI support for BMP3xx devices
Bosch does not use unique BMPxxx_CHIP_ID for the different versions
of the device which leads to misidentification of devices if their
ID is used. Use a new value in the chip_info structure instead of
the BMPxxx_CHIP_ID, in order to choose the correct regmap_bus to
be used.
Fixes: a9dd9ba32311 ("iio: pressure: Fixes BMP38x and BMP390 SPI support")
Signed-off-by: Vasileios Amoiridis <vassilisamir@gmail.com>
Link: https://lore.kernel.org/r/20240316110743.1998400-3-vassilisamir@gmail.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/pressure/mprls0025pa_i2c.c')
0 files changed, 0 insertions, 0 deletions