Re: [PATCH 2/6] dmaengine: mxs: support i.MX7D and deep sleep mode

From: Vinod Koul
Date: Wed Aug 19 2015 - 12:46:15 EST


On Tue, Jul 28, 2015 at 12:49:13PM -0500, Han Xu wrote:
> From: Huang Shijie <b32955@xxxxxxxxxxxxx>
>
> The patch support i.MX7D platform by adding extra DMA clock.
>
> Deep Sleep Mode(dsm) turns off the power for APBH DMA module, add
> suspend/resume function and re-init the APBH DMA during resume.

I have only 2/6, whats going on?

> +static int mxs_dma_pm_suspend(struct device *dev)
> +{
> + /*
> + * We do not save any registers here, since the gpmi will release its
> + * DMA channel.
> + */
> + return 0;
> +}
Why do we need the empty fn?

--
~Vinod

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/