|
@@ -741,6 +741,12 @@ static int adv7180_cropcap(struct v4l2_subdev *sd, struct v4l2_cropcap *cropcap)
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+static int adv7180_g_tvnorms(struct v4l2_subdev *sd, v4l2_std_id *norm)
|
|
|
|
+{
|
|
|
|
+ *norm = V4L2_STD_ALL;
|
|
|
|
+ return 0;
|
|
|
|
+}
|
|
|
|
+
|
|
static const struct v4l2_subdev_video_ops adv7180_video_ops = {
|
|
static const struct v4l2_subdev_video_ops adv7180_video_ops = {
|
|
.s_std = adv7180_s_std,
|
|
.s_std = adv7180_s_std,
|
|
.g_std = adv7180_g_std,
|
|
.g_std = adv7180_g_std,
|
|
@@ -749,9 +755,9 @@ static const struct v4l2_subdev_video_ops adv7180_video_ops = {
|
|
.s_routing = adv7180_s_routing,
|
|
.s_routing = adv7180_s_routing,
|
|
.g_mbus_config = adv7180_g_mbus_config,
|
|
.g_mbus_config = adv7180_g_mbus_config,
|
|
.cropcap = adv7180_cropcap,
|
|
.cropcap = adv7180_cropcap,
|
|
|
|
+ .g_tvnorms = adv7180_g_tvnorms,
|
|
};
|
|
};
|
|
|
|
|
|
-
|
|
|
|
static const struct v4l2_subdev_core_ops adv7180_core_ops = {
|
|
static const struct v4l2_subdev_core_ops adv7180_core_ops = {
|
|
.s_power = adv7180_s_power,
|
|
.s_power = adv7180_s_power,
|
|
};
|
|
};
|