[PATCH v2] dmaengine: fsl-edma: add PM suspend/resume support

Li Yang leoli at freescale.com
Thu Aug 13 13:58:01 PDT 2015


On Tue, Jul 21, 2015 at 3:56 AM, Yuan Yao <yao.yuan at freescale.com> wrote:
> This add power management suspend/resume support for the fsl-edma
> driver.
>
> eDMA acted as a basic function used by others. What it needs to do is
> the two steps below to support power management.
>
> In fsl_edma_suspend_late:
> Check whether the DMA chan is idle and if it is not idle, stop PM
> operation.

You should try to quiesce the device on suspend instead of depending
on itself to be happen in idle and failing if it is not.

Regards,
Leo



More information about the linux-arm-kernel mailing list