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:
Zefa Chen
2022-04-15 17:02:21 +08:00
committed by Tao Huang
parent ad4221ec5a
commit a8109ffafd
+1 -1
View File
@@ -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 = {