i2c: mux: reg Change ioread endianness for readback
authorYork Sun <yorksun@freescale.com>
Wed, 2 Sep 2015 16:40:46 +0000 (11:40 -0500)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 3 Sep 2015 09:58:42 +0000 (11:58 +0200)
commit5a73882fd2c3a86b502d54da532d373a1f2db15e
tree10d3276235643ef0d7b8774cb1849c5871c4cf32
parenta05a34e7f6ff4a942186e99932885b10c6bc1d1a
i2c: mux: reg Change ioread endianness for readback

Reading the register (if allowed) after writing is to ensure writing
is completed on a posted bus. The endianness of reading doesn't matter.

Signed-off-by: York Sun <yorksun@freescale.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/muxes/i2c-mux-reg.c