iio: pressure: ms5611: changed hardcoded SPI speed to value limited
stable inclusion from stable-v5.10.156 commit 67a75a9480fc4f73465a90e6a5e5ee12e9de4d39 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I7MCG1 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=67a75a9480fc4f73465a90e6a5e5ee12e9de4d39 -------------------------------- commit 741cec30 upstream. Don't hardcode the ms5611 SPI speed, limit it instead. Signed-off-by: NMitja Spes <mitja@lxnav.com> Fixes: c0644160 ("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: NJonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Nsanglipeng <sanglipeng1@jd.com> (cherry picked from commit 45e70bc7)
Showing
想要评论请 注册 或 登录