ARM: OMAP3: fix workaround for EMU clockdomain
authorJon Hunter <jon-hunter@ti.com>
Mon, 8 Oct 2012 22:24:15 +0000 (17:24 -0500)
committerPaul Walmsley <paul@pwsan.com>
Tue, 9 Oct 2012 04:39:07 +0000 (22:39 -0600)
commitcf956d9f0734b4888655d6b7420e4dac9dba22d0
tree87ee6bc34ee267a6f246616c322b3560eea71df5
parent695f0117e7d80709c7aec54d5fffb8051c97cf23
ARM: OMAP3: fix workaround for EMU clockdomain

Commit b71c721 (ARM: OMAP2+: clockdomain/hwmod: add workaround for EMU
clockdomain idle problems) added a workaround for the EMU clock domain on
OMAP3/4 devices to prevent the clock domain for transitioning while it is
in use.

In the proposed patch [1] code was added to the omap3xxx_clkdm_clk_enable()
and omap3xxx_clkdm_clk_disable() functions to check for the flag
CLKDM_MISSING_IDLE_REPORTING and perform the appropriate action. However, in the
merged patch it appears that this code was added to the omap2_clkdm_clk_enable()
and omap2_clkdm_clk_disable() functions by mistake.

[1] http://marc.info/?l=linux-arm-kernel&m=134383567112518&w=2

Signed-off-by: Jon Hunter <jon-hunter@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/clockdomain2xxx_3xxx.c