Commit 45e70bc7 authored by Mitja Spes's avatar Mitja Spes Committed by sanglipeng
Browse files

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: default avatarMitja 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: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent ca4a5724
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment