Skip to content

Commit

Permalink
fixed an uninitialized variable issue that would make the vpxi driver…
Browse files Browse the repository at this point in the history
… keep the irq check worker thread reschedule itself all the time
  • Loading branch information
Wolfvak committed Apr 9, 2021
1 parent 5662356 commit 1899602
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/platform/nintendo3ds/ctr_pxi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 1899602

Please sign in to comment.