bus: ti-sysc: re-order the clkdm control around reset handling
authorTero Kristo <t-kristo@ti.com>
Wed, 7 Aug 2019 12:46:03 +0000 (15:46 +0300)
committerTony Lindgren <tony@atomide.com>
Tue, 13 Aug 2019 11:32:03 +0000 (04:32 -0700)
commitb6036314436b9f4d8dbb8f1bdea511982de73cf9
tree77e0d9baafd215259d2e810673e0b15e07cb561f
parentb58056da2ec28e2c1b66096cd5109997f04d3fd1
bus: ti-sysc: re-order the clkdm control around reset handling

Parenting clockdomain for the IP should be enabled during the reset
handling logic, otherwise the reset may not finish properly. Re-order
the clockdomain control logic to avoid this.

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