]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP3: hwmod: fix variant registration and remove SmartReflex from common list
authorPaul Walmsley <paul@pwsan.com>
Thu, 6 Oct 2011 20:39:28 +0000 (14:39 -0600)
committerTony Lindgren <tony@atomide.com>
Sat, 5 Nov 2011 00:41:07 +0000 (17:41 -0700)
commit7f8c02a83fb6498f61674b7f6efbbd8cd6f80710
treeee1610ed2199495a2c98fcada271f0d92f6d22d6
parent56917083ce8aba2d2fa0db0e291eab806bae5fc5
ARM: OMAP3: hwmod: fix variant registration and remove SmartReflex from common list

Commit 2ca3ab4d572c958dd14042cdf5db037dfab8fe75 ("OMAP2+: hwmod:
remove OMAP_CHIP*") tests the inverse condition of what it should be
testing for the return value from omap_hwmod_register().  This causes
several IP blocks to not be registered on several OMAP3 family devices.

Fixing that bug also unmasked another bug, originally reported by
Chase Maupin <chase.maupin@ti.com> and then subsequently by Abhilash K
V <abhilash.kv@ti.com>, which caused SmartReflex IP blocks to be
registered on SoCs that don't support them.

Thanks to Russell King - ARM Linux <linux@arm.linux.org.uk> for comments
on a previous version of the patch.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Chase Maupin <chase.maupin@ti.com>
Cc: Abhilash K V <abhilash.kv@ti.com>
Cc: Russell King - ARM Linux <linux@arm.linux.org.uk>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c