summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorHarini Katakam <harinik@xilinx.com>2014-12-12 09:48:26 +0530
committerWolfram Sang <wsa@the-dreams.de>2015-01-13 16:21:03 +0100
commit9fae82e1acda8d4a6881be63cc38521b84007ba9 (patch)
tree3428a6789cd91a82785a15af9d3e6ff960944820 /Documentation
parent1c57499361c403f18e5423969b9aa2446bdbe622 (diff)
downloadlinux-stable-9fae82e1acda8d4a6881be63cc38521b84007ba9.tar.gz
linux-stable-9fae82e1acda8d4a6881be63cc38521b84007ba9.tar.bz2
linux-stable-9fae82e1acda8d4a6881be63cc38521b84007ba9.zip
i2c: cadence: Handle > 252 byte transfers
The I2C controller sends a NACK to the slave when transfer size register reaches zero, irrespective of the hold bit. So, in order to handle transfers greater than 252 bytes, the transfer size register has to be maintained at a value >= 1. This patch implements the same. The interrupt status is cleared at the beginning of the isr instead of the end, to avoid missing any interrupts. Signed-off-by: Harini Katakam <harinik@xilinx.com> [wsa: added braces around else branch] Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions