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

Commit d2fb462b authored by Zhenhua Huang's avatar Zhenhua Huang
Browse files

soc: qcom: socinfo: Add check for subtype id



There's an overflow when subtype id is greater than 3 in current
design. Add a check to ensure returning correct value.

Change-Id: Ie8d234792f7370c95782a86e16affd383ed53c18
Signed-off-by: default avatarZhenhua Huang <zhenhuah@codeaurora.org>
parent 4c0cc16e
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