]> git.baikalelectronics.ru Git - kernel.git/commit
bus: ti-sysc: Fix initializing module_pa for modules without sysc register
authorTony Lindgren <tony@atomide.com>
Mon, 8 Mar 2021 09:35:06 +0000 (11:35 +0200)
committerTony Lindgren <tony@atomide.com>
Mon, 8 Mar 2021 09:35:06 +0000 (11:35 +0200)
commit0eea10396fb769bab4e131c8fc4e6362ff57b040
tree8ab6688a2d8b7648a665fe76e7af2b3d8b2cf3d7
parente29a68d7a7e1103ea1b448a4ce3159e51ba0d7f5
bus: ti-sysc: Fix initializing module_pa for modules without sysc register

We have interconnect target modules with no known registers using only
clocks and resets, but we still want to detect them based on the module
IO range. So let's call sysc_parse_and_check_child_range() earlier so we
have module_pa properly initialized.

Fixes: a87a20d77122 ("bus: ti-sysc: Support modules without control registers")
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/bus/ti-sysc.c