diff options
author | Nishanth Menon <nm@ti.com> | 2014-04-11 12:24:42 -0400 |
---|---|---|
committer | Nishanth Menon <nm@ti.com> | 2014-05-05 15:33:08 -0400 |
commit | add6f74b9baf6676c4465b99967c972c464e59cc (patch) | |
tree | f829db4993615ddc17956c17d1e0d354a4334ea9 | |
parent | 9e224c8ff19e4c4a9c9272171d5a0169d5cb1bef (diff) |
bus: omap_l3_noc: un-obfuscate l3_targ address computation
just simplify derefencing that is equivalent.
Signed-off-by: Nishanth Menon <nm@ti.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Tested-by: Darren Etheridge <detheridge@ti.com>
Tested-by: Sekhar Nori <nsekhar@ti.com>
-rw-r--r-- | drivers/bus/omap_l3_noc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bus/omap_l3_noc.c b/drivers/bus/omap_l3_noc.c index c8facb00bb53..f7d3bf4f7284 100644 --- a/drivers/bus/omap_l3_noc.c +++ b/drivers/bus/omap_l3_noc.c | |||
@@ -76,7 +76,7 @@ static irqreturn_t l3_interrupt_handler(int irq, void *_l3) | |||
76 | err_src = __ffs(err_reg); | 76 | err_src = __ffs(err_reg); |
77 | 77 | ||
78 | /* Read the stderrlog_main_source from clk domain */ | 78 | /* Read the stderrlog_main_source from clk domain */ |
79 | l3_targ_base = base + *(l3_targ[i] + err_src); | 79 | l3_targ_base = base + l3_targ[i][err_src]; |
80 | l3_targ_stderr = l3_targ_base + L3_TARG_STDERRLOG_MAIN; | 80 | l3_targ_stderr = l3_targ_base + L3_TARG_STDERRLOG_MAIN; |
81 | l3_targ_slvofslsb = l3_targ_base + | 81 | l3_targ_slvofslsb = l3_targ_base + |
82 | L3_TARG_STDERRLOG_SLVOFSLSB; | 82 | L3_TARG_STDERRLOG_SLVOFSLSB; |