[PATCH 0/2] Allow drivers to override stop_engine

From: xswang
Date: Wed Apr 25 2018 - 00:31:40 EST


From: Evan Wang <xswang@xxxxxxxxxxx>

There are some special operations needed when stop engine
for Marvell AHCI IP, and it maybe needed by other vendors,
so it is necessary to allow to override ahci_stop_engine()
when stop the engine like overriding start_engine.

Evan Wang (2):
libahci: Allow drivers to override stop_engine
ata: ahci: mvebu: override ahci_stop_engine for mvebu AHCI

drivers/ata/ahci.c | 6 ++---
drivers/ata/ahci.h | 7 ++++++
drivers/ata/ahci_mvebu.c | 56 +++++++++++++++++++++++++++++++++++++++++++++
drivers/ata/ahci_qoriq.c | 2 +-
drivers/ata/ahci_xgene.c | 4 ++--
drivers/ata/libahci.c | 20 +++++++++-------
drivers/ata/sata_highbank.c | 2 +-
7 files changed, 82 insertions(+), 15 deletions(-)

--
1.9.1