mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
i2c: rcar: fix mask value of prohibited bit
According to documentation, Bit 7 of ICMSR is unused and 0 should be written to it. Fix the mask accordingly. Signed-off-by: Hiromitsu Yamasaki <[email protected]> [wsa: edited commit message] Signed-off-by: Wolfram Sang <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
This commit is contained in:
parent
9d952aa2c8
commit
a1de3253a8
1 changed files with 2 additions and 2 deletions
|
|
@ -102,8 +102,8 @@
|
|||
#define RCAR_IRQ_RECV (MNR | MAL | MST | MAT | MDR)
|
||||
#define RCAR_IRQ_STOP (MST)
|
||||
|
||||
#define RCAR_IRQ_ACK_SEND (~(MAT | MDE) & 0xFF)
|
||||
#define RCAR_IRQ_ACK_RECV (~(MAT | MDR) & 0xFF)
|
||||
#define RCAR_IRQ_ACK_SEND (~(MAT | MDE) & 0x7F)
|
||||
#define RCAR_IRQ_ACK_RECV (~(MAT | MDR) & 0x7F)
|
||||
|
||||
#define ID_LAST_MSG (1 << 0)
|
||||
#define ID_FIRST_MSG (1 << 1)
|
||||
|
|
|
|||
Loading…
Reference in a new issue