From patchwork Fri Apr 20 10:18:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: 0v3rdr0n3@gmail.com X-Patchwork-Id: 10352805 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 824B26023A for ; Fri, 20 Apr 2018 14:19:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 71A1E2873B for ; Fri, 20 Apr 2018 14:19:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 65B0E2878C; Fri, 20 Apr 2018 14:19:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.4 required=2.0 tests=BAYES_00, DATE_IN_PAST_03_06, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D6EC42873B for ; Fri, 20 Apr 2018 14:19:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755031AbeDTOTO (ORCPT ); Fri, 20 Apr 2018 10:19:14 -0400 Received: from mail-io0-f193.google.com ([209.85.223.193]:38176 "EHLO mail-io0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754899AbeDTOTN (ORCPT ); Fri, 20 Apr 2018 10:19:13 -0400 Received: by mail-io0-f193.google.com with SMTP id d24-v6so878945iob.5; Fri, 20 Apr 2018 07:19:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=E8qxq5ruCJpNMm06/ANA8l2+avZY+Dw8mCai+BaCm4U=; b=qIgNrqfvWqOYuAugOFJB/ZKKqeXBq/XJXKxkkO2Zzoh+ZDyx8T2u28Jd62aUaNwOkg n5eHx3IdOR7r69Pao4+kBAMeM8hpG6QDjyN5KaH7d8sNR52noNxP7gZh0+CZF/7Xk0ay AHEysPRvSNfTbyWWa8t3oyT0kXV7W1TIAYzlt6bmi6IeFjLzKWxauYtfH7RD/W1Cz8kt a8H6mxAN59pDbe8XkUjRzVCHYos6jv1PyzVSBY7CpVziQxrxsSFbEYjFqL5SnUfHVxy4 EC9e64+VhaxyF/nj32itbAl1AEga6KKBLEgR1CNmEzQFF+2LwvlpLqIaNA0a0P6WL3v4 oxdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=E8qxq5ruCJpNMm06/ANA8l2+avZY+Dw8mCai+BaCm4U=; b=jPXo1mgwdbysUk+UOY0bYbMCIfbf8Da6+KoE0HJQArpgDqnLAzUjyHkOFVSn4A+qbk WOkXrcpna5mjofjexU9QVyo3KWDckdjZWbfL9ZuYrwi/6zqXEv5LGOUWnEb6Zu3SsKpg wemF9UZW/tvysORs/U6kFWu95eLATskK0hKoeG/cK+WCf398wMd92N0FCAo773TuQfqr DP0prJ0RO6ubCgo9DZzYYSMnXq7uDiyRVfcnyb0W6/8W0b4sZKgVI+BJFeIEPkyNdolG MSQ5Vymef8KHy+UbU7ZT1dfSWnId0sZ0MZlFPuv8HrFXyVg4XJF8jlPYeufWdyFTUbiL gkJg== X-Gm-Message-State: ALQs6tDdWW28pmmvWQV+mxYa/CaakQJlRDhtqG3PbXzgnV3k9nWz3MlW LqBHZb5P5STbwF+r1K/ZDH5CCQ== X-Google-Smtp-Source: AIpwx4/lmFjiRf3VgbyYDxzxYN5XdKQOWA3OWfg/myisyTwabdXKHPrB/k5xGKWOu/YAHDE/hXBUqQ== X-Received: by 2002:a6b:b58d:: with SMTP id e135-v6mr10205474iof.189.1524233952839; Fri, 20 Apr 2018 07:19:12 -0700 (PDT) Received: from pride.cinci.rr.com (cpe-74-136-84-14.kya.res.rr.com. [74.136.84.14]) by smtp.gmail.com with ESMTPSA id f10-v6sm2927833iob.49.2018.04.20.07.19.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Apr 2018 07:19:12 -0700 (PDT) From: 0v3rdr0n3@gmail.com To: linux-pm@vger.kernel.org, linux-ide@vger.kernel.org Cc: samorris@lexmark.com Subject: [PATCH v2 1/3] ata: ahci: rpm_put port on port_stop to match rpm_get in port_start Date: Fri, 20 Apr 2018 10:18:32 +0000 Message-Id: <20180420101834.15783-1-0v3rdr0n3@gmail.com> X-Mailer: git-send-email 2.17.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Samuel Morris Signed-off-by: Samuel Morris --- 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)