]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: stm32f7: fix configuration of the digital filter
authorAlain Volmat <alain.volmat@foss.st.com>
Fri, 5 Feb 2021 08:51:40 +0000 (09:51 +0100)
committerWolfram Sang <wsa@kernel.org>
Fri, 12 Feb 2021 10:36:40 +0000 (11:36 +0100)
commit1f6759a92edaf3c84648f172352289eedf741bd9
treeb98d17c378e8ba7c57c27e7c22cca394070e6ec4
parent85fd09d4b3b21becfbc020f4eaa7530f9eefd0d8
i2c: stm32f7: fix configuration of the digital filter

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: 21bf57cb8ec0 ("i2c: i2c-stm32f7: add driver")
Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Signed-off-by: Pierre-Yves MORDRET <pierre-yves.mordret@foss.st.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-stm32f7.c