From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753731AbbLEKTh (ORCPT ); Sat, 5 Dec 2015 05:19:37 -0500 Received: from mga11.intel.com ([192.55.52.93]:6578 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753370AbbLEKTg (ORCPT ); Sat, 5 Dec 2015 05:19:36 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,384,1444719600"; d="scan'208";a="865231111" Date: Sat, 5 Dec 2015 15:52:37 +0530 From: Vinod Koul To: Yuan Yao Cc: stefan@agner.ch, arnd@arndb.de, dan.j.williams@intel.com, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v4] dmaengine: fsl-edma: add PM suspend/resume support Message-ID: <20151205102237.GZ1854@localhost> References: <1446203038-5323-1-git-send-email-yao.yuan@freescale.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1446203038-5323-1-git-send-email-yao.yuan@freescale.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 30, 2015 at 07:03:58PM +0800, Yuan Yao 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, if it is not idle disable DMA > request. > > In fsl_edma_resume_early: > Enable the eDMA and wait for being used. > Applied, thanks -- ~Vinod