MIPS: Netlogic: Disable writing IRT for disabled blocks
authorJayachandran C <jchandra@broadcom.com>
Wed, 7 Jan 2015 11:28:25 +0000 (16:58 +0530)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 1 Apr 2015 15:21:48 +0000 (17:21 +0200)
commit72e0605b4346c3b018a5926ab0b3f535ab1f9b82
treed3df6d1e256c8480237b5b826ac8dfb852ac032a
parent9bbc6c7d35e2b3370e5e447f3d165892882d35a8
MIPS: Netlogic: Disable writing IRT for disabled blocks

If the device header of a block is not present, return invalid IRT
value so that we do not program an incorrect offset.

Signed-off-by: Jayachandran C <jchandra@broadcom.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8882/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/netlogic/xlp/nlm_hal.c