From: Larry Finger Date: Tue, 8 Apr 2008 08:28:24 +0000 (+0200) Subject: ssb-pcicore: Fix IRQ TPS flag handling X-Git-Tag: v2.6.25-rc9~4^2~5^2~2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=b63009b456c8d9abe684bdf8d4bd8f27eb040019;p=linux-2.6-omap-h63xx.git ssb-pcicore: Fix IRQ TPS flag handling This fixes the TPS flag handling for the SSB pcicore driver. This fixes interrupts on some devices. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville --- diff --git a/drivers/ssb/driver_pcicore.c b/drivers/ssb/driver_pcicore.c index 74b9a8aea52..5d777f21169 100644 --- a/drivers/ssb/driver_pcicore.c +++ b/drivers/ssb/driver_pcicore.c @@ -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); }