From 880b242a2b42f1706cbaec98848efa3d0f5a9b3e Mon Sep 17 00:00:00 2001 From: Grazvydas Ignotas Date: Sat, 28 May 2016 02:48:17 +0300 Subject: [PATCH] ARM: OMAP3: hwmod data: set sw control flag on dss hwmods Without this hwmod's _setup() enables interface clock and leaves it on forever supposedly for hw autoidle to manage. However this causes clockdomain's reference counter to never return to zero and omap3xxx_clkdm_clk_disable() never gets called to remove autoteps to MPU, which means DSS ends up needlessly transitioning alog with the CPU. This hack avoids such switching. It also makes context loss counter work without need to call pwrdm_{pre,post}_transition on all power domains in omap_sram_idle() as it's taken care by clkdm enable/disable. Could not measure any power usage differences though. --- Reading git-format-patch failed