• Paul Walmsley's avatar
    ARM: OMAP3: hwmod: fix variant registration and remove SmartReflex from common list · ace90216
    Paul Walmsley authored
    Commit d6504acd ("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: default avatarPaul 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: default avatarTony Lindgren <tony@atomide.com>
    ace90216
omap_hwmod_3xxx_data.c 82.7 KB