aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/platform_data/ti-sysc.h
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2018-09-24 12:16:54 -0700
committerTony Lindgren <tony@atomide.com>2018-09-24 12:16:54 -0700
commit40d9f9124822013331367fb4ab59936c3ac944d6 (patch)
treef4173f2fd0469a011d0beb4bfdad376c03aa95c8 /include/linux/platform_data/ti-sysc.h
parentLinux 4.19-rc1 (diff)
downloadwireguard-linux-40d9f9124822013331367fb4ab59936c3ac944d6.tar.xz
wireguard-linux-40d9f9124822013331367fb4ab59936c3ac944d6.zip
bus: ti-sysc: Defer suspend as needed
We don't care when we suspend but some our children do. In order to avoid tagging various modules with SYSC_QUIRK_RESOURCE_PROVIDER, let's do it automatically by tagging modules that are busy on suspend for noirq suspend. This way we can just do module detection on define DEBUG. Note that we still need to keep SYSC_QUIRK_LEGACY_IDLE flag around so the our legacy single-child devices that set pm_runtime_irq_safe() can manage the interconnect target module themselves. Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'include/linux/platform_data/ti-sysc.h')
-rw-r--r--include/linux/platform_data/ti-sysc.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/platform_data/ti-sysc.h b/include/linux/platform_data/ti-sysc.h
index 2efa3470a451..1ea3aab972b4 100644
--- a/include/linux/platform_data/ti-sysc.h
+++ b/include/linux/platform_data/ti-sysc.h
@@ -46,7 +46,6 @@ struct sysc_regbits {
s8 emufree_shift;
};
-#define SYSC_QUIRK_RESOURCE_PROVIDER BIT(9)
#define SYSC_QUIRK_LEGACY_IDLE BIT(8)
#define SYSC_QUIRK_RESET_STATUS BIT(7)
#define SYSC_QUIRK_NO_IDLE_ON_INIT BIT(6)