]> git.sur5r.net Git - u-boot/commit
mxc_i2c: remove redundant read
authorTroy Kisky <troy.kisky@boundarydevices.com>
Thu, 19 Jul 2012 08:18:10 +0000 (08:18 +0000)
committerHeiko Schocher <hs@denx.de>
Tue, 31 Jul 2012 05:45:00 +0000 (07:45 +0200)
commitd45e75b10cff8b388c9ec2e9fe3d4484bf1ba943
treed4d9707a58cbb98543706c1f42f4012db903662f
parent7aa57a01c0b5589c6f757b7a5106e09f9ba8fb10
mxc_i2c: remove redundant read

wait_for_sr_state returns i2sr on success
so no need to read again.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Acked-by: Marek Vasut <marex@denx.de>
drivers/i2c/mxc_i2c.c