]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bus: ti-sysc: Fix initializing module_pa for modules without sysc register
authorTony Lindgren <tony@atomide.com>
Mon, 25 Jan 2021 08:49:14 +0000 (10:49 +0200)
committerTony Lindgren <tony@atomide.com>
Mon, 25 Jan 2021 08:49:14 +0000 (10:49 +0200)
commitce80dcb4ab77edb5f64e364aa1c99803ec9b6d89
tree7cd400afdc92a11e60b62730770321bc9ea454a0
parent177d8f1f7f47fe7c18ceb1d87893890d7e9c95a7
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: 2928135c93f8 ("bus: ti-sysc: Support modules without control registers")
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/bus/ti-sysc.c