mxc_i2c: fix i2c_imx_stop
authorTroy Kisky <troy.kisky@boundarydevices.com>
Thu, 19 Jul 2012 08:18:02 +0000 (08:18 +0000)
committerHeiko Schocher <hs@denx.de>
Tue, 31 Jul 2012 05:40:59 +0000 (07:40 +0200)
commit1c076dba277fa35384b512841b0b284bdd579383
tree83471cfd4f1b27ba0e1be9efb14a096d45b8cb63
parent8ec038a6a590c8ac66137502766ba10334c531e9
mxc_i2c: fix i2c_imx_stop

Instead of clearing 2 bits, all the other
bits were set because '|=' was used instead
of '&='.

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