“72fc36b600f73e37557576af80c58836dcf389f9”上不存在“arch/git@gitcode.net:openeuler/raspberrypi-kernel.git”
提交 332c42a9 编写于 作者: S Samuel Morris 提交者: Tejun Heo

ata: ahci: rpm_put port on port_stop to match rpm_get in port_start

This change balances out the final ahci_port_resume in port_start to
ensure reference counts are correct after port stop.
Signed-off-by: NSamuel Morris <samorris@lexmark.com>
Signed-off-by: NTejun Heo <tj@kernel.org>
上级 9ffc59d5
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册