]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
iio: pressure: ms5611: changed hardcoded SPI speed to value limited
authorMitja Spes <mitja@lxnav.com>
Fri, 21 Oct 2022 13:58:21 +0000 (15:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Nov 2022 16:35:41 +0000 (17:35 +0100)
commit34feb62354c236b9dfac314cb7e0da5600889b27
tree584fa860f7784999a3b6fb8acfbeb3e6ceb2410d
parentf68c96821b61d2c71a35dbb8bf90c347fad624d9
iio: pressure: ms5611: changed hardcoded SPI speed to value limited

commit 741cec30cc52058d1c10d415f3b98319887e4f73 upstream.

Don't hardcode the ms5611 SPI speed, limit it instead.

Signed-off-by: Mitja Spes <mitja@lxnav.com>
Fixes: c0644160a8b5 ("iio: pressure: add support for MS5611 pressure and temperature sensor")
Link: https://lore.kernel.org/r/20221021135827.1444793-3-mitja@lxnav.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/iio/pressure/ms5611_spi.c