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

Arnd Bergmann arnd at arndb.de
Wed Jul 15 02:56:40 PDT 2015


On Wednesday 15 July 2015 17:32:58 Yuan Yao wrote:
> +#ifdef CONFIG_PM
> +enum fsl_edma_pm_state {
> +       RUNNING = 0,
> +       SUSPENDED,
> +};
> +#endif
>  
>  struct fsl_edma_hw_tcd {
> 

The #ifdefs here seem unnecessary, at least most of them, better
just do this all unconditionally.

	Arnd



More information about the linux-arm-kernel mailing list