]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
designware_i2c: Fixed the setting of the i2c bus speed
authorArmando Visconti <armando.visconti@st.com>
Thu, 6 Dec 2012 00:04:17 +0000 (00:04 +0000)
committerTom Rini <trini@ti.com>
Tue, 11 Dec 2012 20:17:32 +0000 (13:17 -0700)
commit5b8439bbdea9ad8c120cda408a97ed2e55e943d3
treed780361247639c2ca75ac5d1340cec315c466b04
parent491739bb7456b95bb863421f6cd76af0ff9b797c
designware_i2c: Fixed the setting of the i2c bus speed

There are three couple (hcnt/lcnt) of registers for each
speed (SS/FS/HS). The driver needs to set the proper couple
of regs according to what speed we are setting.

Signed-off-by: Armando Visconti <armando.visconti@st.com>
drivers/i2c/designware_i2c.c