OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
216bce9
)
ssb-pcicore: Fix IRQ TPS flag handling
author
Larry Finger
<larry.finger@lwfinger.net>
Tue, 8 Apr 2008 08:28:24 +0000
(10:28 +0200)
committer
John W. Linville
<linville@tuxdriver.com>
Wed, 9 Apr 2008 14:33:49 +0000
(10:33 -0400)
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>
drivers/ssb/driver_pcicore.c
patch
|
blob
|
history
diff --git
a/drivers/ssb/driver_pcicore.c
b/drivers/ssb/driver_pcicore.c
index
74b9a8a
..
5d777f2
100644
(file)
--- 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);
}