bus: omap_l3_noc: make error reporting and handling common
authorNishanth Menon <nm@ti.com>
Fri, 11 Apr 2014 17:24:56 +0000 (12:24 -0500)
committerNishanth Menon <nm@ti.com>
Mon, 5 May 2014 19:33:52 +0000 (14:33 -0500)
commitc98aa7aaa24b7687a170b93c4bf3111a6d166069
tree34d930842a5909ea1e728799555ac2b0e1b06844
parentd4d8819e205854cc102e366f30b8eadd60a58e97
bus: omap_l3_noc: make error reporting and handling common

The logic between handling CUSTOM_ERROR and STANDARD_ERROR is just the
reporting style.

So make it generic, simplify and standardize the reporting with both
master and target information printed to log.

Handle the register address difference for master code for standard
error and custom error as well.

While at it, fix a minor indentation error.

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>
drivers/bus/omap_l3_noc.c
drivers/bus/omap_l3_noc.h