]> git.hungrycats.org Git - linux/commit
iio: pressure: bmp280: Fix regmap for BMP280 device
authorVasileios Amoiridis <vassilisamir@gmail.com>
Thu, 11 Jul 2024 21:15:49 +0000 (23:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Oct 2024 10:01:12 +0000 (12:01 +0200)
commita257fd6b4112e369d900f4c1e3b118c390644b6b
tree48a4e9f636c542aa471a182ae951716b7655d689
parent5e8419cb858bf5b247e5ee89f082f3f2fa5f4ff9
iio: pressure: bmp280: Fix regmap for BMP280 device

[ Upstream commit b9065b0250e1705935445ede0a18c1850afe7b75 ]

Up to now, the BMP280 device is using the regmap of the BME280 which
has registers that exist only in the BME280 device.

Fixes: 14e8015f8569 ("iio: pressure: bmp280: split driver in logical parts")
Signed-off-by: Vasileios Amoiridis <vassilisamir@gmail.com>
Link: https://patch.msgid.link/20240711211558.106327-2-vassilisamir@gmail.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/iio/pressure/bmp280-core.c
drivers/iio/pressure/bmp280-regmap.c
drivers/iio/pressure/bmp280.h