i2c: mxs: Fix TIMING2 register value
authorMarek Vasut <marex@denx.de>
Mon, 12 Nov 2012 14:34:31 +0000 (14:34 +0000)
committerTom Rini <trini@ti.com>
Tue, 11 Dec 2012 20:17:30 +0000 (13:17 -0700)
commitaff36ea92ec0700cd9241bf01e72956a3ab9600e
tree407ce5d73e7c38787f55b7278d2d1b47bd288b6d
parenta157e0d5f6aa0b86bd7b6ae09d11b12a4a736d97
i2c: mxs: Fix TIMING2 register value

According to FSL, the value in the TIMING2 register shall be 0x00300030
instead of what's written in the datasheet. This new value correlates
with older STMP36xx datasheet. Issues were detected in Linux when this
register was misconfigured, so write this correct value.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
drivers/i2c/mxs_i2c.c