return -EOPNOTSUPP for devices that are not supported

This commit is contained in:
Geoffrey McRae 2020-10-31 19:29:16 +11:00
parent 5e3a6f1399
commit 1175e8ab58
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ static long vendor_reset_ioctl_reset(struct file * filp, unsigned long arg)
if (entry->type == VENDOR_RESET_TYPE_INVALID)
{
ret = -ENODEV;
ret = -EOPNOTSUPP;
goto err;
}