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

Commit 51e8b885 authored by Michael Buesch's avatar Michael Buesch Committed by John W. Linville
Browse files

ssb-pcicore: Remove b44 TPS flag workaround



Now that we fixed the TPS flag assignment in commit
b63009b4
we don't need the workaround for the bcm44xx chip anymore.

Signed-off-by: default avatarMichael Buesch <mb@bu3sch.de>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 50c4afb9
Loading
Loading
Loading
Loading
+3 −9
Original line number Diff line number Diff line
@@ -562,15 +562,9 @@ int ssb_pcicore_dev_irqvecs_enable(struct ssb_pcicore *pc,
		u32 intvec;

		intvec = ssb_read32(pdev, SSB_INTVEC);
		if ((bus->chip_id & 0xFF00) == 0x4400) {
			/* Workaround: On the BCM44XX the BPFLAG routing
			 * bit is wrong. Use a hardcoded constant. */
			intvec |= 0x00000002;
		} else {
		tmp = ssb_read32(dev, SSB_TPSFLAG);
		tmp &= SSB_TPSFLAG_BPFLAG;
		intvec |= (1 << tmp);
		}
		ssb_write32(pdev, SSB_INTVEC, intvec);
	}