Home
last modified time | relevance | path

Searched hist:fa86d1c0bf3f4c68aa565952f1fcafbe2aa2c050 (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/i2c/
H A Dmxs_i2c.cfa86d1c0bf3f4c68aa565952f1fcafbe2aa2c050 Tue Apr 17 05:37:45 UTC 2012 Torsten Fleischer <to-fleischer@t-online.de> mxs-i2c: Fix internal address byte order

Large EEPROMs, e.g. 24lc32, need 2 byte to address the internal memory.
These devices require that the high byte of the internal address has to be
written first.
The mxs_i2c driver currently writes the address' low byte first.

The following patch fixes the byte order of the internal address that should
be written to the I2C device.

Signed-off-by: Torsten Fleischer <to-fleischer@t-online.de>

CC: Marek Vasut <marex@denx.de>
CC: Stefano Babic <sbabic@denx.de>
CC: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Marek Vasut <marex@denx.de>
Acked-by: Stefano Babic <sbabic@denx.de>