Re: [PATCH 2/3] i2c: xiic: Prevent concurrent running of the IRQ handler and __xiic_start_xfer()

2015-11-20 Thread Wolfram Sang
On Mon, Nov 16, 2015 at 02:42:04PM +0100, Lars-Peter Clausen wrote: > Prior to commit e6c9a037bc8a ("i2c: xiic: Remove the disabling of > interrupts") IRQs where disabled when the initial __xiic_start_xfer() was > called. After the commit the interrupt is enabled while the function is > running,

[PATCH 2/3] i2c: xiic: Prevent concurrent running of the IRQ handler and __xiic_start_xfer()

2015-11-16 Thread Lars-Peter Clausen
Prior to commit e6c9a037bc8a ("i2c: xiic: Remove the disabling of interrupts") IRQs where disabled when the initial __xiic_start_xfer() was called. After the commit the interrupt is enabled while the function is running, this means it is possible for the interrupt to be triggered while the

Re: [PATCH 2/3] i2c: xiic: Prevent concurrent running of the IRQ handler and __xiic_start_xfer()

2015-11-16 Thread Shubhrajyoti Datta
On Mon, Nov 16, 2015 at 7:12 PM, Lars-Peter Clausen wrote: > Prior to commit e6c9a037bc8a ("i2c: xiic: Remove the disabling of > interrupts") IRQs where disabled when the initial __xiic_start_xfer() was > called. After the commit the interrupt is enabled while the function is >