coresight: fixing CPU hwid lookup in device tree
authorMathieu Poirier <mathieu.poirier@linaro.org>
Mon, 26 Jan 2015 16:22:23 +0000 (09:22 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Feb 2015 18:42:55 +0000 (10:42 -0800)
commit34a03c1d30f04ca7439c685c0ea9b7d79c353705
tree19cfb12b7351e93ae67de3aff75e31dba29f3501
parentc4546f246636ccf4cda092bcfcafcb5f5f752ec7
coresight: fixing CPU hwid lookup in device tree

Some DT specification will represent CPU nodes with address
cells greater than one, making the current code fail.  Using
the proper retrieval helper function ensure the correct hwid
for CPUs is read properly with different address cell size.

Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/coresight/of_coresight.c