diff options
Diffstat (limited to 'drivers/media/platform/s5p-tv/mixer_video.c')
-rw-r--r-- | drivers/media/platform/s5p-tv/mixer_video.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/s5p-tv/mixer_video.c b/drivers/media/platform/s5p-tv/mixer_video.c index 72d4f2e1efc0..751f3b618337 100644 --- a/drivers/media/platform/s5p-tv/mixer_video.c +++ b/drivers/media/platform/s5p-tv/mixer_video.c | |||
@@ -287,7 +287,7 @@ static void mxr_mplane_fill(struct v4l2_plane_pix_format *planes, | |||
287 | u32 bl_width = divup(width, blk->width); | 287 | u32 bl_width = divup(width, blk->width); |
288 | u32 bl_height = divup(height, blk->height); | 288 | u32 bl_height = divup(height, blk->height); |
289 | u32 sizeimage = bl_width * bl_height * blk->size; | 289 | u32 sizeimage = bl_width * bl_height * blk->size; |
290 | u16 bytesperline = bl_width * blk->size / blk->height; | 290 | u32 bytesperline = bl_width * blk->size / blk->height; |
291 | 291 | ||
292 | plane->sizeimage += sizeimage; | 292 | plane->sizeimage += sizeimage; |
293 | plane->bytesperline = max(plane->bytesperline, bytesperline); | 293 | plane->bytesperline = max(plane->bytesperline, bytesperline); |