]> git.dujemihanovic.xyz Git - u-boot.git/commit
i2c: stm32f7: compute i2cclk only one time
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Tue, 3 Aug 2021 10:05:15 +0000 (12:05 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 8 Oct 2021 06:42:41 +0000 (08:42 +0200)
commitc31cf40096f9187d2f11e4ed4a102b9dd3ac98c2
tree943c3fde6b8c107534ccf8652ef115592fcdf6de
parent6338b458887021dbea718d7bee973569a2e62bf5
i2c: stm32f7: compute i2cclk only one time

Compute i2cclk only one time in stm32_i2c_compute_timing()
and remove setup parameter (accessible in i2c_priv).

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