Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 01276ed2 authored by Jongsung Kim's avatar Jongsung Kim Committed by David S. Miller
Browse files

net/cadence/macb: fix bug/typo in extracting gem_irq_read_clear bit

parent b78ba72c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1292,7 +1292,7 @@ static void macb_configure_dma(struct macb *bp)
static void macb_configure_caps(struct macb *bp)
{
	if (macb_is_gem(bp)) {
		if (GEM_BF(IRQCOR, gem_readl(bp, DCFG1)) == 0)
		if (GEM_BFEXT(IRQCOR, gem_readl(bp, DCFG1)) == 0)
			bp->caps |= MACB_CAPS_ISR_CLEAR_ON_WRITE;
	}
}