Re: [PATCH 2/2] thunderbolt: Mask ring interrupt properly when polling starts

2017-12-01 Thread mika.westerb...@linux.intel.com
On Mon, Nov 27, 2017 at 04:21:34PM +, Bernat, Yehezkel wrote: > On Mon, 2017-11-27 at 14:48 +0300, Mika Westerberg wrote: > > When ring enters polling mode we are expected to mask the ring > > interrupt > > before the callback is called. However, the current code actually > > unmasks it probabl

Re: [PATCH 2/2] thunderbolt: Mask ring interrupt properly when polling starts

2017-11-27 Thread Bernat, Yehezkel
On Mon, 2017-11-27 at 14:48 +0300, Mika Westerberg wrote: > When ring enters polling mode we are expected to mask the ring > interrupt > before the callback is called. However, the current code actually > unmasks it probably because of a copy-paste mistake. > > Mask the interrupt properly from now

[PATCH 2/2] thunderbolt: Mask ring interrupt properly when polling starts

2017-11-27 Thread Mika Westerberg
When ring enters polling mode we are expected to mask the ring interrupt before the callback is called. However, the current code actually unmasks it probably because of a copy-paste mistake. Mask the interrupt properly from now on. Fixes: 4ffe722eefcb ("thunderbolt: Add polling mode for rings")