From mboxrd@z Thu Jan 1 00:00:00 1970 From: Viresh Kumar Subject: Re: [PATCH] spi: pl022: Fix calculate_effective_freq() Date: Thu, 26 Apr 2012 11:57:44 +0530 Message-ID: <4F98EAE0.9050509@st.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: "spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org" , spear-devel , Vinit Kamalaksha SHENOY To: "linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: spi-devel-general-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-spi.vger.kernel.org On 4/19/2012 2:44 PM, Viresh KUMAR wrote: > calculate_effective_freq() was still not optimized and there were cases when it > returned without error and with values of cpsr and scr as zero. > > Also, the variable named found is not used well. > > This patch targets to optimize and correct this routine. Tested for SPEAr. > > Signed-off-by: Viresh Kumar > Tested-by: Vinit Kamalaksha Shenoy You forgot to review this :) -- viresh ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/