From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jon Hunter Subject: Re: [PATCH V2 4/6] dmaengine: tegra-apb: Only save channel state for those in use Date: Tue, 10 Nov 2015 09:57:35 +0000 Message-ID: <5641BF8F.1010304@nvidia.com> References: <1447075429-27311-1-git-send-email-jonathanh@nvidia.com> <1447075429-27311-5-git-send-email-jonathanh@nvidia.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-tegra-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Andy Shevchenko Cc: Laxman Dewangan , Vinod Koul , Stephen Warren , Thierry Reding , Alexandre Courbot , dmaengine , "linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" List-Id: linux-tegra@vger.kernel.org On 09/11/15 13:58, Andy Shevchenko wrote: > On Mon, Nov 9, 2015 at 3:23 PM, Jon Hunter wrote: >> Currently the tegra-apb DMA driver suspend/resume helpers, save and >> restore the registers for all channels regardless of whether they are >> in use or not. Change this so that only channels that have been >> allocated and configured are saved and restored. > > Nitpick > >> + /* >> + * Only save the state of DMA channels that are in use. >> + */ > > One line? > >> + /* >> + * Only restore the state of DMA channels that are in use. >> + */ > > Same. Ok. Jon