OMAP: div reaches max_clk_div.
PATCH 1/1 OMAP: div reaches max_clk_div.
With for(div = 0; div < max_clk_div; div++) { ... } div reaches max_clk_div.
Signed-off-by Roel Kluin <[email protected]>
---
drivers/video/omap/hwa742.c +2 -2
@@ -742,7 +742,7 @@ static int calc_extif_timings(unsigned long sysclk, int *extif_mem_div)if (calc_reg_timing (sysclk, div) ==0 )break ; } -if (div > max_clk_div) +if (div >= max_clk_div) goto err; *extif_mem_div = div;
@@ -752,7 +752,7 @@ static int calc_extif_timings(unsigned long sysclk, int *extif_mem_div)break ; } -if (div > max_clk_div) +if (div >= max_clk_div) goto err;return 0 ;
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
Hi Roel,
Quoted 3 lines · Roel Kluin
With
for(div = 0; div < max_clk_div; div++){ ... } div reachesmax_clk_div.Signed-off-by Roel Kluin <[email protected]>
Looks good. Thanks.
Signed-off-by Trilok Soni <[email protected]>
Signature · 10 lines
---Trilok Soni http://triloksoni.wordpress.com http://www.linkedin.com/in/triloksoni ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com