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)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Mon, 2 Mar 2015 18:34:21 +0000 (11:34 -0700)
commitd79f7c86f06c6a6bbb31116a156bc7b2952f1be4
tree48d43829f0a7577d29afbb31232e7379400dbd1c
parent02746fffef7b2965580d88ecf50d834886c508b2
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>
(cherry picked from commit 34a03c1d30f04ca7439c685c0ea9b7d79c353705)
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/coresight/of_coresight.c