]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
bus: ti-sysc: Allocate mdata as needed and do platform data based init later
authorTony Lindgren <tony@atomide.com>
Thu, 21 Mar 2019 18:00:21 +0000 (11:00 -0700)
committerTony Lindgren <tony@atomide.com>
Wed, 3 Apr 2019 16:32:34 +0000 (09:32 -0700)
commita3e92e7b32f2f932239666e826988a13db10e513
tree16c1cb406162438d8f47e9287e8d696c756de75a
parent1a5cd7c23cc52445fcc4e82beb343ba43103ecdc
bus: ti-sysc: Allocate mdata as needed and do platform data based init later

The platform data based init functions typically reset the interconnect
target module configure the registers. As we may need the interconnect
target module specific quirks configured based on the revision register,
we want to move the platform data based init to happen later.

Let's allocate mdata as needed so it's available for sysc_legacy_init()
that we call with module clocks enabled from sysc_init_module().

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