projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ffc59d
)
ata: ahci: rpm_put port on port_stop to match rpm_get in port_start
author
Samuel Morris
<samorris@lexmark.com>
Tue, 29 May 2018 10:06:11 +0000
(10:06 +0000)
committer
Tejun Heo
<tj@kernel.org>
Mon, 18 Jun 2018 17:58:42 +0000
(10:58 -0700)
This change balances out the final ahci_port_resume in port_start to
ensure reference counts are correct after port stop.
Signed-off-by: Samuel Morris <samorris@lexmark.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/libahci.c
patch
|
blob
|
history
diff --git
a/drivers/ata/libahci.c
b/drivers/ata/libahci.c
index
965842a
..
5038cee
100644
(file)
--- a/
drivers/ata/libahci.c
+++ b/
drivers/ata/libahci.c
@@
-2436,6
+2436,8
@@
static void ahci_port_stop(struct ata_port *ap)
* re-enabling INTx.
*/
writel(1 << ap->port_no, host_mmio + HOST_IRQ_STAT);
+
+ ahci_rpm_put_port(ap);
}
void ahci_print_info(struct ata_host *host, const char *scc_s)