Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit be9d6002 authored by Shaoqing Liu's avatar Shaoqing Liu Committed by Gerrit - the friendly Code Review server
Browse files

coresight: Return error if no cpu nodes are found



By default if no node found the function of_coresight_get_cpu return CPU0
which will cause problem when CPU0 etm probe. So should return invalid
value in case of no nodes found.

Change-Id: I2d034ffc195c6f25adb1fb8b3413dbc323825bd6
Signed-off-by: default avatarShaoqing Liu <shaoqingliu@codeaurora.org>
parent bc1f52b9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment