From: Samuel Morris <samorris@xxxxxxxxxxx> Signed-off-by: Samuel Morris <samorris@xxxxxxxxxxx> --- drivers/ata/libahci.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/ata/libahci.c b/drivers/ata/libahci.c index 7adcf3caabd0..8eec099a605f 100644 --- a/drivers/ata/libahci.c +++ b/drivers/ata/libahci.c @@ -2432,6 +2432,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) -- 2.16.2 -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html