]> git.baikalelectronics.ru Git - kernel.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)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 29 Oct 2022 11:39:21 +0000 (12:39 +0100)
commit5a36ecc5f2b3b2327fe97e2f8cde8b3c711c324d
tree713ec31d2578267456adc14588d27de039032c58
parent80534da2e0700da00a5380f44b33ff298a38ec26
iio: pressure: ms5611: changed hardcoded SPI speed to value limited

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

Signed-off-by: Mitja Spes <mitja@lxnav.com>
Fixes: 24c7e8d48af4 ("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>
drivers/iio/pressure/ms5611_spi.c