]> 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:45:52 +0000 (17:45 +0100)
commit67a75a9480fc4f73465a90e6a5e5ee12e9de4d39
treecfa4c17282f114bca8dc15c3245adaee9ffec471
parentd95b85c5084ad70011988861ee864529eefa1da0
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