[PATCH v2 1/2] libahci: Implement the function ahci_restart_engine to restart the port dma engine.

Tejun Heo tj at kernel.org
Tue Jun 17 09:21:56 PDT 2014


Hello,

On Mon, Jun 16, 2014 at 03:05:35PM +0530, Suman Tripathi wrote:
> This patch implements the function ahci_restart_engine function to restart the port dma engine.

Please fit the text under 80 column.

> ---

I can't apply w/o your SOB.

> +int ahci_restart_engine(struct ata_port *ap)
> +{
> +	ahci_stop_engine(ap);
> +	ahci_start_fis_rx(ap);
> +	ahci_start_engine(ap);
> +
> +	return 0;
> +}
> +EXPORT_SYMBOL_GPL(ahci_restart_engine);

Why is this exported?  The next patch doesn't seem to use the function
outside libahci.c proper.

Thanks.

-- 
tejun



More information about the linux-arm-kernel mailing list