i2c: mv_i2c.c: Correct address endianness
authorBradley Bolen <bradleybolen@gmail.com>
Tue, 13 Dec 2016 17:49:53 +0000 (12:49 -0500)
committerHeiko Schocher <hs@denx.de>
Mon, 19 Dec 2016 08:32:00 +0000 (09:32 +0100)
commit77466267eb3f937f432135f73efb25122e668cfc
treea6e4bb03781550270eca4d4ec7714af806179420
parent0b4bc1b3ab1850fccbade3e6103f2036f6bdb364
i2c: mv_i2c.c: Correct address endianness

0c0f719ad2f46c8566a56daee37ebdb7c078c3b1 accidentally changed the
endianness of the i2c read and write addresses.  This was noticable when
accessing EEPROMs that use 2 byte addressing as the LSB was being sent
first.

Signed-off-by: Bradley Bolen <bradleybolen@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/i2c/mv_i2c.c