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)
committerWolfram Sang <wsa@the-dreams.de>
Sat, 20 Sep 2014 09:56:20 +0000 (11:56 +0200)
commit938916fbb8e8cb67eacb784f4eda17e2950c16c5
tree28ab131f0585989aa17bb7390f279c7239404fca
parentc9a9ef4170b3db3044504cd5512d0bb19c6f23c7
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>
drivers/i2c/busses/i2c-rcar.c