projects
/
GitHub
/
moto-9609
/
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:
b55d2c8
)
ahci: also use a per-port lock for the multi-MSIX case
author
Christoph Hellwig
<hch@lst.de>
Thu, 11 Aug 2016 14:26:02 +0000
(07:26 -0700)
committer
Tejun Heo
<tj@kernel.org>
Thu, 11 Aug 2016 16:37:31 +0000
(12:37 -0400)
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/libahci.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/ata/libahci.c
b/drivers/ata/libahci.c
index 7461a587b39b4e9d953e3a0063b9f1fb8cad0319..7c01192d3c48f8053dcadced6718e97fe848bf04 100644
(file)
--- a/
drivers/ata/libahci.c
+++ b/
drivers/ata/libahci.c
@@
-2378,7
+2378,7
@@
static int ahci_port_start(struct ata_port *ap)
/*
* Switch to per-port locking in case each port has its own MSI vector.
*/
- if (hpriv->flags &
AHCI_HFLAG_MULTI_MSI
) {
+ if (hpriv->flags &
(AHCI_HFLAG_MULTI_MSI | AHCI_HFLAG_MULTI_MSIX)
) {
spin_lock_init(&pp->lock);
ap->lock = &pp->lock;
}