bus: ti-sysc: rework the reset handling
authorTero Kristo <t-kristo@ti.com>
Wed, 7 Aug 2019 12:46:04 +0000 (15:46 +0300)
committerTony Lindgren <tony@atomide.com>
Tue, 13 Aug 2019 11:32:09 +0000 (04:32 -0700)
commit4345f0dc015da045a775655e6afac66dbaa1f62d
tree18012e79a3126019ca7e0ec08bed86624ce6b2ab
parentb6036314436b9f4d8dbb8f1bdea511982de73cf9
bus: ti-sysc: rework the reset handling

If reset controllers are assigned to the ti-sysc target-module, only
ti-sysc is going to be able to control these. Thus, remove all the
disable_on_idle flag usage, and assert/de-assert the reset always
in the idle path. Otherwise the reset signal will always just be
de-asserted.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/bus/ti-sysc.c