]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
i2c: cadence: Handling Slave monitor mode
authorNava kishore Manne <nava.manne@xilinx.com>
Tue, 17 Mar 2015 16:18:15 +0000 (21:48 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 19 Mar 2015 11:41:42 +0000 (12:41 +0100)
commit7df2f9266418ec0074af1fbdec620aa59851c8f4
treee2c04d85037333c2e55fa154b672660cb408e1df
parent179a008a6a02e2bfdcc70bc53f2a255949cdbe2d
i2c: cadence: Handling Slave monitor mode

In slave monitor mode, the I2C interface is set up as a master and
continues to attempt a transfer to a particular slave until the
slave device responds with an ACK.

Added this feature for zero length transfers enable the controller
for slave monitor interrupt and get the status. Disable the slave
monitor mode feature upon successful handling.

Signed-off-by: Nava kishore Manne <navam@xilinx.com>
Acked-by: Harini Katakam <harinik@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/i2c/busses/i2c-cadence.c