Hello.

On 11/12/2015 5:31 PM, Wolfram Sang wrote:

From: Wolfram Sang <wsa+rene...@sang-engineering.com>

After making sure to reinit the HW and clear interrupts in the timeout
case, we know that interrupts are always disabled in the sections
protected by the spinlock.

What about SMP? Spinlocks are mostly necessary for the SMP support, their tole isn't limited to disabling interrupts...

Thus, we can simply remove it which is a
preparation for further refactoring. While here, rename the timeout
variable to time_left which is way more readable.

Signed-off-by: Wolfram Sang <wsa+rene...@sang-engineering.com>

[...]

MBR, Sergei

--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to