ARM: OMAP2+: Add hwmod flag for HWMOD_RECONFIG_IO_CHAIN
authorTony Lindgren <tony@atomide.com>
Thu, 18 Sep 2014 15:58:28 +0000 (08:58 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 18 Sep 2014 15:58:28 +0000 (08:58 -0700)
commit6a08b11adda53b89d32d4becac4d7f062a0e2d99
tree5c851c7b27025e6d4ea63007157e2feb2ba61c6d
parent377fb3f5d9a34b2913939e0620c1c585b5913bab
ARM: OMAP2+: Add hwmod flag for HWMOD_RECONFIG_IO_CHAIN

Commit cc824534d4fe ("ARM: OMAP2+: hwmod: Rearm wake-up interrupts
for DT when MUSB is idled") fixed issues with hung UART wake-up
events by calling _reconfigure_io_chain() when MUSB is connected
or disconnected.

As pointed out by Paul Walmsley, we may need to also call
_reconfigure_io_chain() in other cases, so it should be a separate
flag. Let's add HWMOD_RECONFIG_IO_CHAIN as suggested by Paul.

Reviewed-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/omap_hwmod.c
arch/arm/mach-omap2/omap_hwmod.h
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c