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)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:16:21 +0000 (11:16 +0100)
commitad94d9a624fefdcdfc5f1aff6423993569cbecc2
treeb44192f22307c05afc925e0fe7c8cd2f9c9f8b51
parentb008109442c7ded707dafcfa32b4398f71fd14a9
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