|
@@ -1706,7 +1706,7 @@ static int s5c73m3_probe(struct i2c_client *client,
|
|
state->oif_pads[OIF_ISP_PAD].flags = MEDIA_PAD_FL_SINK;
|
|
state->oif_pads[OIF_ISP_PAD].flags = MEDIA_PAD_FL_SINK;
|
|
state->oif_pads[OIF_JPEG_PAD].flags = MEDIA_PAD_FL_SINK;
|
|
state->oif_pads[OIF_JPEG_PAD].flags = MEDIA_PAD_FL_SINK;
|
|
state->oif_pads[OIF_SOURCE_PAD].flags = MEDIA_PAD_FL_SOURCE;
|
|
state->oif_pads[OIF_SOURCE_PAD].flags = MEDIA_PAD_FL_SOURCE;
|
|
- oif_sd->entity.function = MEDIA_ENT_F_V4L2_SUBDEV_UNKNOWN;
|
|
|
|
|
|
+ oif_sd->entity.function = MEDIA_ENT_F_PROC_VIDEO_SCALER;
|
|
|
|
|
|
ret = media_entity_pads_init(&oif_sd->entity, OIF_NUM_PADS,
|
|
ret = media_entity_pads_init(&oif_sd->entity, OIF_NUM_PADS,
|
|
state->oif_pads);
|
|
state->oif_pads);
|