From 1899602b4d9dc82cc8425159892b215490f7799d Mon Sep 17 00:00:00 2001 From: Wolfvak Date: Fri, 9 Apr 2021 20:49:13 -0300 Subject: [PATCH] fixed an uninitialized variable issue that would make the vpxi driver keep the irq check worker thread reschedule itself all the time --- drivers/platform/nintendo3ds/ctr_pxi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/platform/nintendo3ds/ctr_pxi.c b/drivers/platform/nintendo3ds/ctr_pxi.c index 97be3052a726e2..9bb487b3a2c771 100644 --- a/drivers/platform/nintendo3ds/ctr_pxi.c +++ b/drivers/platform/nintendo3ds/ctr_pxi.c @@ -455,6 +455,7 @@ static void vpxi_irq_worker(struct work_struct *work) u64 pending[VPXI_MAX_IRQBANK], any; struct pxi_host *pxi = container_of(work, struct pxi_host, irq_worker); + any = 0; for (i = 0; i < VPXI_MAX_IRQBANK; i++) { /* get all pending interrupts */ pending[i] = vpxi_get_irqbank(pxi, i); any |= pending[i];