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: NAlain Volmat <alain.volmat@foss.st.com> Signed-off-by: NPierre-Yves MORDRET <pierre-yves.mordret@foss.st.com> Signed-off-by: NWolfram Sang <wsa@kernel.org> Signed-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com> Acked-by: NXie XiuQi <xiexiuqi@huawei.com>
Showing
想要评论请 注册 或 登录