]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
OMAP2/3: SDRC: fix walking of SDRC params list
authorKevin Hilman <khilman@deeprootsystems.com>
Mon, 15 Dec 2008 23:31:48 +0000 (15:31 -0800)
committerTony Lindgren <tony@atomide.com>
Tue, 16 Dec 2008 00:25:50 +0000 (16:25 -0800)
commitc846903b6b94dca5d1b245abcfd5efed4bbbf18a
tree0d39cfcb78da2dca8d74a34d0cdfcd853a2ef382
parentc4adf767e0569c712f7c44ba37c4df9b47ea4121
OMAP2/3: SDRC: fix walking of SDRC params list

This patch fixes a bug where omap2_sdrc_get_params() does not properly
check for a valid table entry before continuing.

Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Acked-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/sdrc.c