]> pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] ARM: OMAP: Fix checking for multiple boot tags in board config
authorJonathan McDowell <noodles@earth.li>
Mon, 15 May 2006 09:43:49 +0000 (02:43 -0700)
committerTony Lindgren <tony@atomide.com>
Mon, 15 May 2006 09:43:49 +0000 (02:43 -0700)
commit589002d002418f2e54448b5eeab0b4216e274fd8
treeefb4166ec6d2919ef2a810262689c71f3de85041
parente6dcc213e547abce5eccef0f1aaee8ce21fd3ea6
[PATCH] ARM: OMAP: Fix checking for multiple boot tags in board config

Currently if we look for more than one instance of a boot tag and it's
defined in the board config rather than passed by the boot loader we can
get stuck in a loop where the same tag is processed many times. This can
be seen with the gpio-switch driver, for example. The patch below fixes
this by respecting the skip parameter to get_config when we're scanning
the board config structure.

Signed-Off-By: Jonathan McDowell <noodles@earth.li>
arch/arm/plat-omap/common.c