Merge OCK next branch to TK5 master branch

This commit is contained in:
Jianping Liu 2024-09-03 11:26:15 +08:00
commit 2748b6ef40
1 changed files with 1 additions and 3 deletions

View File

@ -71,10 +71,8 @@ static int __init zhaoxin_rng_mod_init(void)
{
int err;
if (!x86_match_cpu(zhaoxin_rng_cpu_ids)) {
pr_err(PFX "The CPU isn't support XSTORE.\n");
if (!x86_match_cpu(zhaoxin_rng_cpu_ids))
return -ENODEV;
}
pr_info("Zhaoxin RNG detected\n");