diff options
author | Tony Lindgren <tony@atomide.com> | 2019-05-27 04:51:56 -0700 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2019-05-28 05:19:16 -0700 |
commit | 8383e25994efadbd76cf6db7b19776cb8931e5da (patch) | |
tree | 9cc46e9226b3b1f816bcce8ea9897534f9c23c74 /net | |
parent | 6e09f497eb911c61fc8dde04ce8482fc2615355e (diff) |
bus: ti-sysc: Add support for disabling module without legacy mode
We must not assert reset for modules with no child device drivers
until in runtime_suspend. Otherwise register access will fail without
legacy mode helping us.
Let's add a flag for disable_on_idle and move the reset driver
handling to runtime suspend and resume. We can then also use the
disable_on_idle flag to reconfigure sysconfig register for PM
modes requesting it.
Let's also make the other flags use bitfield while at it instead of
bool.
Tested-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions