Skip to content

Commit 4b2b3f0

Browse files
committed
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>
2 parents 14a8912 + 7ec1bd3 commit 4b2b3f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/soc/aspeed/aspeed-socinfo.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ static const char *siliconid_to_name(u32 siliconid)
3939
unsigned int i;
4040

4141
for (i = 0 ; i < ARRAY_SIZE(rev_table) ; ++i) {
42-
if (rev_table[i].id == id)
42+
if ((rev_table[i].id & 0xff00ffff) == id)
4343
return rev_table[i].name;
4444
}
4545

0 commit comments

Comments
 (0)