Skip to content

Commit

Permalink
ssb-pcicore: Fix IRQ TPS flag handling
Browse files Browse the repository at this point in the history
This fixes the TPS flag handling for the SSB pcicore driver.
This fixes interrupts on some devices.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
lwfinger authored and linvjw committed Apr 9, 2008
1 parent 216bce9 commit b63009b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ssb/driver_pcicore.c
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ int ssb_pcicore_dev_irqvecs_enable(struct ssb_pcicore *pc,
} else {
tmp = ssb_read32(dev, SSB_TPSFLAG);
tmp &= SSB_TPSFLAG_BPFLAG;
intvec |= tmp;
intvec |= (1 << tmp);
}
ssb_write32(pdev, SSB_INTVEC, intvec);
}
Expand Down

0 comments on commit b63009b

Please sign in to comment.