mirror of
https://github.com/torvalds/linux.git
synced 2026-06-03 20:14:06 +02:00
aspeed: first batch of fixes for v7.0
-----BEGIN PGP SIGNATURE----- iJIEABYKADoWIQSoUT1x3bOSX/nAa8ajM9GZTrjhpgUCacSdQRwcYW5kcmV3QGNv ZGVjb25zdHJ1Y3QuY29tLmF1AAoJEKMz0ZlOuOGmU0MBANp5Z80/NPZYf4VKXgZP 0ikoPS3mUexeJ9praQN3QelaAQCRYn0jaT66kxuzQ1wFK0qPXsRQpbQD9LGHd0Ae rEv5Ag== =Ayc3 -----END PGP SIGNATURE----- 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:
commit
4b2b3f034a
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user