diff options
Diffstat (limited to 'drivers/media/platform/sh_veu.c')
| -rw-r--r-- | drivers/media/platform/sh_veu.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/platform/sh_veu.c b/drivers/media/platform/sh_veu.c index 744e43b480bc..8dc279d4d561 100644 --- a/drivers/media/platform/sh_veu.c +++ b/drivers/media/platform/sh_veu.c | |||
| @@ -425,7 +425,6 @@ static int sh_veu_g_fmt(struct sh_veu_file *veu_file, struct v4l2_format *f) | |||
| 425 | pix->bytesperline = vfmt->bytesperline; | 425 | pix->bytesperline = vfmt->bytesperline; |
| 426 | pix->sizeimage = vfmt->bytesperline * pix->height * | 426 | pix->sizeimage = vfmt->bytesperline * pix->height * |
| 427 | vfmt->fmt->depth / vfmt->fmt->ydepth; | 427 | vfmt->fmt->depth / vfmt->fmt->ydepth; |
| 428 | pix->priv = 0; | ||
| 429 | dev_dbg(veu->dev, "%s(): type: %d, size %u @ %ux%u, fmt %x\n", __func__, | 428 | dev_dbg(veu->dev, "%s(): type: %d, size %u @ %ux%u, fmt %x\n", __func__, |
| 430 | f->type, pix->sizeimage, pix->width, pix->height, pix->pixelformat); | 429 | f->type, pix->sizeimage, pix->width, pix->height, pix->pixelformat); |
| 431 | 430 | ||
| @@ -473,7 +472,6 @@ static int sh_veu_try_fmt(struct v4l2_format *f, const struct sh_veu_format *fmt | |||
| 473 | 472 | ||
| 474 | pix->pixelformat = fmt->fourcc; | 473 | pix->pixelformat = fmt->fourcc; |
| 475 | pix->colorspace = sh_veu_4cc2cspace(pix->pixelformat); | 474 | pix->colorspace = sh_veu_4cc2cspace(pix->pixelformat); |
| 476 | pix->priv = 0; | ||
| 477 | 475 | ||
| 478 | pr_debug("%s(): type: %d, size %u\n", __func__, f->type, pix->sizeimage); | 476 | pr_debug("%s(): type: %d, size %u\n", __func__, f->type, pix->sizeimage); |
| 479 | 477 | ||
