Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755966AbdGCSHw (ORCPT ); Mon, 3 Jul 2017 14:07:52 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:37378 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932467AbdGCSHd (ORCPT ); Mon, 3 Jul 2017 14:07:33 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org A64B9607E0 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=nwatters@codeaurora.org From: Nate Watterson To: Hans de Goede , Tejun Heo , linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Nate Watterson Subject: [PATCH 2/2] ata: ahci_platform: Handle shutdown with ata_platform_shutdown_one() Date: Mon, 3 Jul 2017 14:02:42 -0400 Message-Id: <1499104962-17498-2-git-send-email-nwatters@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1499104962-17498-1-git-send-email-nwatters@codeaurora.org> References: <1499104962-17498-1-git-send-email-nwatters@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 995 Lines: 26 To avoid interfering with a new kernel started using kexec, quiesce host controller DMA interrupts during driver shutdown with ata_platform_remove_one(). Change-Id: Iedee7f7ba12172b3d34796a3e3b92dbb72d4ed9c Signed-off-by: Nate Watterson --- drivers/ata/ahci_platform.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/ata/ahci_platform.c b/drivers/ata/ahci_platform.c index 62a04c8..ca25b0d 100644 --- a/drivers/ata/ahci_platform.c +++ b/drivers/ata/ahci_platform.c @@ -93,6 +93,7 @@ static SIMPLE_DEV_PM_OPS(ahci_pm_ops, ahci_platform_suspend, static struct platform_driver ahci_driver = { .probe = ahci_probe, .remove = ata_platform_remove_one, + .shutdown = ata_platform_shutdown_one, .driver = { .name = DRV_NAME, .of_match_table = ahci_of_match, -- Qualcomm Datacenter Technologies, Inc. on behalf of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.