Message ID | 1499104962-17498-2-git-send-email-nwatters@codeaurora.org |
---|---|
State | Not Applicable |
Delegated to: | David Miller |
Headers | show |
On Mon, Jul 03, 2017 at 02:02:42PM -0400, Nate Watterson wrote: > 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 <nwatters@codeaurora.org> Please drop the Change-Id when posting upstream. Also, it probably would be better to roll this into the previous patch. Thanks.
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,
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 <nwatters@codeaurora.org> --- drivers/ata/ahci_platform.c | 1 + 1 file changed, 1 insertion(+)