]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: xiic: Remove the disabling of interrupts
authorShubhrajyoti Datta <shubhraj@xilinx.com>
Wed, 17 Jun 2015 15:18:11 +0000 (20:48 +0530)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 10 Aug 2015 06:37:31 +0000 (08:37 +0200)
commit347951241d89e5897c36b03903e8d9cd5da12cde
treec6ad439d6cff702cf39a53b6157c65a2e8748c34
parent7b208ded86b9886e216e09f28abc097bb4e7150e
i2c: xiic: Remove the disabling of interrupts

Currently the interrupts are disabled at the start of the
isr and enabled at the end of the isr. Remove the same.

In case the slave device NACKs the transaction while in the isr
the transfer will continue and the NACK interrupt will arrive
only after the isr is serviced.

Signed-off-by: Shubhrajyoti Datta <shubhraj@xilinx.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-xiic.c