mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-16 07:51:31 -04:00
Merge tag 'aspeed-7.0-fixes-0' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/bmc/linux into arm/fixes
aspeed: first batch of fixes for v7.0 * tag 'aspeed-7.0-fixes-0' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/bmc/linux: soc: aspeed: socinfo: Mask table entries for accurate SoC ID matching Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
This commit is contained in:
@@ -39,7 +39,7 @@ static const char *siliconid_to_name(u32 siliconid)
|
||||
unsigned int i;
|
||||
|
||||
for (i = 0 ; i < ARRAY_SIZE(rev_table) ; ++i) {
|
||||
if (rev_table[i].id == id)
|
||||
if ((rev_table[i].id & 0xff00ffff) == id)
|
||||
return rev_table[i].name;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user