media: rk_ircut: return error if ioctl not supportted
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com> Change-Id: I6219df0f4db9244195d5722e7b8c81fac9410b32
This commit is contained in:
@@ -294,7 +294,7 @@ static int ircut_s_ctrl(struct v4l2_ctrl *ctrl)
|
||||
|
||||
static long ircut_ioctl(struct v4l2_subdev *sd, unsigned int cmd, void *arg)
|
||||
{
|
||||
return 0;
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
static const struct v4l2_subdev_core_ops ircut_core_ops = {
|
||||
|
||||
Reference in New Issue
Block a user