summaryrefslogtreecommitdiff
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorVasileios Amoiridis <vassilisamir@gmail.com>2024-03-16 12:07:43 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-05-17 12:15:02 +0200
commitfcb97f514ccf380b5abf6ad5cc5a1c222198275b (patch)
tree38de4332786393659b033008734d7ac6b60fa7ee /lib/dynamic_debug.c
parentd4c39840bc61964c0f66855d3f8e88ad0de31850 (diff)
iio: pressure: Fixes SPI support for BMP3xx devices
commit 5ca29ea4e4073b3caba750efe155b1bd4c597ca9 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions