diff options
author | Laurent Pinchart | 2015-07-28 19:00:43 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab | 2016-02-19 11:45:00 +0100 |
commit | 86960eec4d4b4557fe37021decdf4265213d3882 (patch) | |
tree | e6c30af991d1b68542fa8cb0d6d7feb50c0c9357 /drivers/media/platform/vsp1/vsp1_wpf.c | |
parent | [media] v4l: vsp1: Change the type of the rwpf field in struct vsp1_video (diff) | |
download | kernel-qcow2-linux-86960eec4d4b4557fe37021decdf4265213d3882.tar.gz kernel-qcow2-linux-86960eec4d4b4557fe37021decdf4265213d3882.tar.xz kernel-qcow2-linux-86960eec4d4b4557fe37021decdf4265213d3882.zip |
[media] v4l: vsp1: Store the memory format in struct vsp1_rwpf
Move the format from struct vsp1_video to struct vsp1_rwpf to prepare
for VSPD KMS support that will not instantiate V4L2 video device nodes.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/platform/vsp1/vsp1_wpf.c')
-rw-r--r-- | drivers/media/platform/vsp1/vsp1_wpf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/platform/vsp1/vsp1_wpf.c b/drivers/media/platform/vsp1/vsp1_wpf.c index 01493fd207bf..61fcda05d5eb 100644 --- a/drivers/media/platform/vsp1/vsp1_wpf.c +++ b/drivers/media/platform/vsp1/vsp1_wpf.c @@ -112,7 +112,7 @@ static int wpf_s_stream(struct v4l2_subdev *subdev, int enable) /* Destination stride. */ if (!pipe->lif) { - struct v4l2_pix_format_mplane *format = &wpf->video.format; + struct v4l2_pix_format_mplane *format = &wpf->format; vsp1_wpf_write(wpf, VI6_WPF_DSTM_STRIDE_Y, format->plane_fmt[0].bytesperline); @@ -130,7 +130,7 @@ static int wpf_s_stream(struct v4l2_subdev *subdev, int enable) /* Format */ if (!pipe->lif) { - const struct vsp1_format_info *fmtinfo = wpf->video.fmtinfo; + const struct vsp1_format_info *fmtinfo = wpf->fmtinfo; outfmt = fmtinfo->hwfmt << VI6_WPF_OUTFMT_WRFMT_SHIFT; |