diff options
author | Jarkko Nikula <jarkko.nikula@bitmer.com> | 2011-09-26 10:45:40 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-09-26 17:47:01 -0700 |
commit | 1a6458847dd25e7ade3d633e5a374b836e38b9ae (patch) | |
tree | a6259345e1207a92e9a5d6f6a78c3fbf8036f10e /arch/arm/plat-omap/include/plat/mcbsp.h | |
parent | cdc71514a0f4f3e8c995f18d1119cef01a501dac (diff) | |
download | blackbird-op-linux-1a6458847dd25e7ade3d633e5a374b836e38b9ae.tar.gz blackbird-op-linux-1a6458847dd25e7ade3d633e5a374b836e38b9ae.zip |
ARM: OMAP: mcbsp: Make wakeup control generic
Currently wakeup control code is compiled only when CONFIG_ARCH_OMAP3 is
set even it should be available for CONFIG_ARCH_OMAP4 only builds also.
Fix this by making wakeup control generic so that it is executed whenever
new feature flag has_wakeup in platform data is set. Currently flag is set
for McBSP config types 3 and 4.
Remove also old comments about idle mode settings and HW bug workarounds
that were not updated during hwmod conversion.
Signed-off-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Tested-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/plat-omap/include/plat/mcbsp.h')
-rw-r--r-- | arch/arm/plat-omap/include/plat/mcbsp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/mcbsp.h b/arch/arm/plat-omap/include/plat/mcbsp.h index 14bc1cbe43d9..ac48d836ab38 100644 --- a/arch/arm/plat-omap/include/plat/mcbsp.h +++ b/arch/arm/plat-omap/include/plat/mcbsp.h @@ -317,6 +317,9 @@ struct omap_mcbsp_platform_data { u16 buffer_size; u8 reg_size; u8 reg_step; + + /* McBSP platform and instance specific features */ + bool has_wakeup; /* Wakeup capability */ }; struct omap_mcbsp_st_data { |