Commit e88286f1 authored by Jorge Zapata's avatar Jorge Zapata

Make the driver return the correct value in case it doesnt support some ioctl

parent 3def4002
......@@ -796,6 +796,7 @@ static int tvp7000_device_cmd(u32 cmd, void *arg)
break;
}
default:
ret = -EINVAL;
break;
}
return ret;
......
Markdown is supported
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