mirror of
https://github.com/gnif/vendor-reset.git
synced 2026-03-28 05:02:44 +01:00
return -EOPNOTSUPP for devices that are not supported
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user