diff options
author | Marek Vasut <marex@denx.de> | 2012-11-30 18:17:06 (GMT) |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-12-11 20:17:30 (GMT) |
commit | 1e2fc0d19bac9bf4f62d259169e902e700a18bad (patch) | |
tree | 31cc4f38e278b1ceeb688efed5418aa8ab33c203 /test | |
parent | aff36ea92ec0700cd9241bf01e72956a3ab9600e (diff) | |
download | u-boot-1e2fc0d19bac9bf4f62d259169e902e700a18bad.tar.xz |
mxs: i2c: Restore speed setting after block reset
The I2C block reset configures the I2C bus speed to strange value.
Read the I2C speed from the block before reseting the block and
restore it afterwards, so the I2C operates correctly. This issue
can be replicated by doing unsuccessful I2C transfer, after such
transfer finishes, the I2C block clock speed is misconfigured.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Heiko Schocher <hs@denx.de>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions