[PATCH 07/10] via-cuda: Use spinlock_irq_save/restore instead of enable/disable_irq

2016-11-30 Thread Finn Thain
The cuda_start() function uses spinlock_irq_save/restore for mutual exclusion. Let's have cuda_poll() do the same when polling the VIA interrupt. The benefit to disabling local irqs when the interrupt is being polled is that the interrupt handler now has the same timing properties regardless of

[PATCH 07/10] via-cuda: Use spinlock_irq_save/restore instead of enable/disable_irq

2016-11-30 Thread Finn Thain
The cuda_start() function uses spinlock_irq_save/restore for mutual exclusion. Let's have cuda_poll() do the same when polling the VIA interrupt. The benefit to disabling local irqs when the interrupt is being polled is that the interrupt handler now has the same timing properties regardless of