Commit 284d978c authored by Alain Volmat's avatar Alain Volmat Committed by Zheng Zengkai
Browse files

i2c: stm32f7: fix configuration of the digital filter



stable inclusion
from stable-5.10.17
commit f6b5e671c6a7ee18fb170584e424d9d5a803e1b4
bugzilla: 48169

--------------------------------

[ Upstream commit 3d6a3d3a ]

The digital filter related computation are present in the driver
however the programming of the filter within the IP is missing.
The maximum value for the DNF is wrong and should be 15 instead of 16.

Fixes: aeb068c5 ("i2c: i2c-stm32f7: add driver")

Signed-off-by: default avatarAlain Volmat <alain.volmat@foss.st.com>
Signed-off-by: default avatarPierre-Yves MORDRET <pierre-yves.mordret@foss.st.com>
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
Acked-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
parent 45b7b381
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment