i2c: i2c-cdns: Use proper input frequency
authorTomasz Gorochowik <tgorochowik@antmicro.com>
Thu, 3 Jan 2019 12:36:33 +0000 (13:36 +0100)
committerHeiko Schocher <hs@denx.de>
Tue, 15 Jan 2019 08:04:49 +0000 (09:04 +0100)
commitf48ef0d81aa837a33020f8d61abb3929ba613774
tree7b83a9690f915a4a25d7259e2d374adcaa761e50
parentad827a500b44a0969d9f835850db23b479eb2c44
i2c: i2c-cdns: Use proper input frequency

This is needed to properly calculate i2c bus speed divisors.

Signed-off-by: Tomasz Gorochowik <tgorochowik@antmicro.com>
Signed-off-by: Wojciech Tatarski <wtatarski@antmicro.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/i2c/i2c-cdns.c