diff options
author | Vasileios Amoiridis <vassilisamir@gmail.com> | 2024-03-16 12:07:43 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-03-24 11:03:08 +0000 |
commit | 5ca29ea4e4073b3caba750efe155b1bd4c597ca9 (patch) | |
tree | f7ec7f85ec5cd2a4dcf7e2bf9c09377efb5c5ce7 /drivers/fpga/xilinx-selectmap.c | |
parent | 546a4f4b5f4d930ea57f5510e109acf08eca5e87 (diff) |
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/fpga/xilinx-selectmap.c')
0 files changed, 0 insertions, 0 deletions