|
@@ -592,7 +592,6 @@ void rvin_crop_scale_comp(struct rvin_dev *vin)
|
|
|
static int rvin_setup(struct rvin_dev *vin)
|
|
|
{
|
|
|
u32 vnmc, dmr, dmr2, interrupts;
|
|
|
- v4l2_std_id std;
|
|
|
bool progressive = false, output_is_yuv = false, input_is_yuv = false;
|
|
|
|
|
|
switch (vin->format.field) {
|
|
@@ -606,10 +605,8 @@ static int rvin_setup(struct rvin_dev *vin)
|
|
|
/* Default to TB */
|
|
|
vnmc = VNMC_IM_FULL;
|
|
|
/* Use BT if video standard can be read and is 60 Hz format */
|
|
|
- if (!v4l2_subdev_call(vin_to_source(vin), video, g_std, &std)) {
|
|
|
- if (std & V4L2_STD_525_60)
|
|
|
- vnmc = VNMC_IM_FULL | VNMC_FOC;
|
|
|
- }
|
|
|
+ if (vin->std & V4L2_STD_525_60)
|
|
|
+ vnmc = VNMC_IM_FULL | VNMC_FOC;
|
|
|
break;
|
|
|
case V4L2_FIELD_INTERLACED_TB:
|
|
|
vnmc = VNMC_IM_FULL;
|