diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2011-10-21 03:56:12 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-05-20 08:00:13 -0400 |
commit | c1bf9c654a752b68be1b4408b33443a17515a671 (patch) | |
tree | a9ed090cb2ac6231c9a3e4c82b6bf8ed580451d5 /drivers/media/video | |
parent | 9d5934446aded013d55fcbf191d754667fa9d261 (diff) |
[media] v4l: s5p-tv: fix plane size calculation
Fix plane size calculation.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video')
-rw-r--r-- | drivers/media/video/s5p-tv/mixer_video.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/s5p-tv/mixer_video.c b/drivers/media/video/s5p-tv/mixer_video.c index c0eadd75c9ac..cc1e9b9b53ba 100644 --- a/drivers/media/video/s5p-tv/mixer_video.c +++ b/drivers/media/video/s5p-tv/mixer_video.c | |||
@@ -853,7 +853,7 @@ static int queue_setup(struct vb2_queue *vq, const struct v4l2_format *pfmt, | |||
853 | *nplanes = fmt->num_subframes; | 853 | *nplanes = fmt->num_subframes; |
854 | for (i = 0; i < fmt->num_subframes; ++i) { | 854 | for (i = 0; i < fmt->num_subframes; ++i) { |
855 | alloc_ctxs[i] = layer->mdev->alloc_ctx; | 855 | alloc_ctxs[i] = layer->mdev->alloc_ctx; |
856 | sizes[i] = PAGE_ALIGN(planes[i].sizeimage); | 856 | sizes[i] = planes[i].sizeimage; |
857 | mxr_dbg(mdev, "size[%d] = %08lx\n", i, sizes[i]); | 857 | mxr_dbg(mdev, "size[%d] = %08lx\n", i, sizes[i]); |
858 | } | 858 | } |
859 | 859 | ||