mirror of
https://github.com/gnif/vendor-reset.git
synced 2025-12-29 15:09:28 +01:00
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)
|
if (entry->type == VENDOR_RESET_TYPE_INVALID)
|
||||||
{
|
{
|
||||||
ret = -ENODEV;
|
ret = -EOPNOTSUPP;
|
||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user