Re: [PATCH 03/11] macintosh/via-pmu: Don't clear shift register interrupt flag twice

2018-06-04 Thread Geert Uytterhoeven
On Sat, Jun 2, 2018 at 5:27 AM, Finn Thain wrote: > Clearing the interrupt flag twice in succession creates a theoretical > race condition. Fix this. I would add that the caller of pmu_sr_intr() has already cleared the flag, so the casual reviewer doesn't have to hunt for it. > Tested-by: Stan

[PATCH 03/11] macintosh/via-pmu: Don't clear shift register interrupt flag twice

2018-06-01 Thread Finn Thain
Clearing the interrupt flag twice in succession creates a theoretical race condition. Fix this. Tested-by: Stan Johnson Signed-off-by: Finn Thain --- drivers/macintosh/via-pmu.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/macintosh/via-pmu.c b/drivers/macintosh/via-pmu.c index