ARM: OMAP2+: hwmod: disable ick autoidling when a hwmod requires that
authorAndreas Kemnade <andreas@kemnade.info>
Wed, 16 Jan 2019 22:04:29 +0000 (23:04 +0100)
committerTero Kristo <t-kristo@ti.com>
Fri, 15 Feb 2019 14:48:11 +0000 (16:48 +0200)
commit12af39cad78e9cb8172793ca5d7f369eb144578b
tree2e472d09a09eb9bc792ddd587393b35a949e3e10
parentfddf4e29a6ce97d693e2a2e759f495ddc4ac2474
ARM: OMAP2+: hwmod: disable ick autoidling when a hwmod requires that

Deny autoidle for hwmods with the OCPIF_SWSUP_IDLE flag,
that makes hwmods working properly which cannot handle
autoidle properly in lower power states.
Affected is e. g. the omap_hdq.
Since an ick might have mulitple users, autoidle is disabled
when an individual user requires that rather than in
_setup_iclk_autoidle. dss_ick is an example for that.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Acked-by: Tony Lindgren <tony@atomide.com>
Tested-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
arch/arm/mach-omap2/omap_hwmod.c