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>
Sat, 26 Nov 2022 08:24:46 +0000 (09:24 +0100)
commit2b104973f7fd775af87109a9d8501521bae01b76
treeea5e2fc78967a891bed9a463790adcee5c0635b9
parent1678d4abb2dc2ca3b05b998a9d88616976e4f947
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