return -EOPNOTSUPP for devices that are not supported
This commit is contained in:
parent
5e3a6f1399
commit
1175e8ab58
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue