i2c: stm32f7: fix configuration of the digital filter
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Tue, 3 Aug 2021 10:05:13 +0000 (12:05 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 8 Oct 2021 06:42:40 +0000 (08:42 +0200)
commit6bbb14f018d4e7f958bcdc04b92be412601c44f6
tree26a7b3b9fda32b59da1ce6b36a9b70790438eeed
parent09599998919c6eab26c3dfd0fcd2f8a6a07cf75d
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.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
drivers/i2c/stm32f7_i2c.c