projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7afb422
)
ahci: logical-bitwise and confusion in ahci_save_initial_config()
author
Roel Kluin
<12o3l@tiscali.nl>
Sun, 9 Mar 2008 20:42:40 +0000
(21:42 +0100)
committer
Jeff Garzik
<jeff@garzik.org>
Tue, 11 Mar 2008 00:51:16 +0000
(20:51 -0400)
logical-bitwise & confusion
Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/ahci.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/ata/ahci.c
b/drivers/ata/ahci.c
index 1d60ef02151acbb02338fdf7ae33701a3fc279fc..6978469eb16d87c9637c2969f6831a17c38cd267 100644
(file)
--- a/
drivers/ata/ahci.c
+++ b/
drivers/ata/ahci.c
@@
-684,7
+684,7
@@
static void ahci_save_initial_config(struct pci_dev *pdev,
cap &= ~HOST_CAP_NCQ;
}
- if ((cap &
&
HOST_CAP_PMP) && (hpriv->flags & AHCI_HFLAG_NO_PMP)) {
+ if ((cap & HOST_CAP_PMP) && (hpriv->flags & AHCI_HFLAG_NO_PMP)) {
dev_printk(KERN_INFO, &pdev->dev,
"controller can't do PMP, turning off CAP_PMP\n");
cap &= ~HOST_CAP_PMP;