Skip to content
Commit a145f64c authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

media: dmxdev: fix error code for invalid ioctls



Returning -EINVAL when an ioctl is not implemented is a very
bad idea, as it is hard to distinguish from other error
contitions that an ioctl could lead. Replace it by its
right error code: -ENOTTY.

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent b9c97c67
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment