]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
ARM: OMAP2+: Define _HWMOD_STATE_DEFAULT and use it
authorTony Lindgren <tony@atomide.com>
Thu, 21 Mar 2019 18:00:21 +0000 (11:00 -0700)
committerTony Lindgren <tony@atomide.com>
Tue, 26 Mar 2019 18:26:25 +0000 (11:26 -0700)
commit6d63b12d182ec9924a8236f7cd1db5966c3bcd20
tree8c8022a6f3a428aad6a23088bc7dc66d68f06c9a
parent513a4abb19d55253ea9490288986ec781a78b786
ARM: OMAP2+: Define _HWMOD_STATE_DEFAULT and use it

For dynamically allocated struct hwmod entries probing with ti-sysc
interconnect target module driver, we need to specify the initial default
state the same way as we do for the platform data cases.

Let's prepare for that by adding _HWMOD_STATE_DEFAULT that we can then
use to set the initial default state without a need to add similar
CONFIG_PM handling in multiple places.

Cc: Paul Walmsley <paul@pwsan.com>
Cc: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/io.c
arch/arm/mach-omap2/omap_hwmod.h