From mboxrd@z Thu Jan 1 00:00:00 1970 From: Laxman Dewangan Subject: Re: [PATCH] spi/tegra-sflash: Factor runtime PM out into transfer prepare/unprepare Date: Sat, 27 Jul 2013 17:50:32 +0530 Message-ID: <51F3BB10.6000501@nvidia.com> References: <1374924661-31306-1-git-send-email-broonie@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1374924661-31306-1-git-send-email-broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> Sender: linux-tegra-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Mark Brown Cc: Stephen Warren , "linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Mark Brown List-Id: linux-tegra@vger.kernel.org On Saturday 27 July 2013 05:01 PM, Mark Brown wrote: > From: Mark Brown > > Currently the tegra sflash driver acquires a runtime PM reference for the > duration of each transfer. This may result in the IP being powered down > between transfers which would be at best wasteful. Instead it is better > to do this in the callbacks that are generated before and after starting > a series of transfers, keeping the IP powered throughout. > > Signed-off-by: Mark Brown > Acked-by: Laxman Dewangan