i2c: rcar: fix RCAR_IRQ_ACK_{RECV|SEND}
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Fri, 5 Sep 2014 23:34:32 +0000 (03:34 +0400)
committerSimon Horman <horms@verge.net.au>
Fri, 5 Dec 2014 00:25:22 +0000 (09:25 +0900)
commit410054659c46e5263d2f4afec1cb6716a6a03d68
tree9ad26c9163c06c8ded7f0f9a4072423aacfbb250
parent6a8cfda667eefe6417d46afccb19a7c5d5141172
i2c: rcar: fix RCAR_IRQ_ACK_{RECV|SEND}

Bits 8-31 of all registers reflect the value of bits 0-7 on reads and should be
0 on writes, according to the manuals. RCAR_IRQ_ACK_{RECV|SEND} macros have all
1's in bits 8-31, thus going against the manuals, so fix them.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Cc: stable@vger.kernel.org
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
(cherry picked from commit 938916fbb8e8cb67eacb784f4eda17e2950c16c5)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/i2c/busses/i2c-rcar.c