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