Update nct6687.c

This commit is contained in:
SergeyMy 2023-10-29 09:13:21 +05:00 committed by GitHub
parent be4509e2db
commit 44037baa94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1113,6 +1113,10 @@ static int __init nct6687_find(int sioaddr, struct nct6687_sio_data *sio_data)
sio_data->kind = nct6687;
break;
default:
if (force){
sio_data->kind = nct6687;
break;
}
if (val != 0xffff)
pr_debug("unsupported chip ID: 0x%04x\n", val);
goto fail;