summaryrefslogtreecommitdiff
path: root/drivers/i2c/i2c-core.h
diff options
context:
space:
mode:
authorVishnu Motghare <vishnum@xilinx.com>2014-12-03 18:05:25 +0530
committerWolfram Sang <wsa@the-dreams.de>2014-12-04 19:25:41 +0100
commit681d15a0f527af7ab3a783e1037de86fbcb136ac (patch)
tree72dd858a8368d675e085bcf5a4828a45660d0958 /drivers/i2c/i2c-core.h
parent9ea359f7314132cbcb5a502d2d8ef095be1f45e4 (diff)
downloadlinux-681d15a0f527af7ab3a783e1037de86fbcb136ac.tar.gz
i2c: cadence: Set the hardware time-out register to maximum value
Cadence I2C controller has bug wherein it generates invalid read transactions after timeout in master receiver mode. This driver does not use the HW timeout and this interrupt is disabled but the feature itself cannot be disabled. Hence, this patch writes the maximum value (0xFF) to this register. This is one of the workarounds to this bug and it will not avoid the issue completely but reduces the chances of error. Signed-off-by: Vishnu Motghare <vishnum@xilinx.com> Signed-off-by: Harini Katakam <harinik@xilinx.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de> Cc: stable@kernel.org
Diffstat (limited to 'drivers/i2c/i2c-core.h')
0 files changed, 0 insertions, 0 deletions