|
@@ -1177,8 +1177,7 @@ static int s5p_jpeg_g_selection(struct file *file, void *priv,
|
|
|
struct s5p_jpeg_ctx *ctx = fh_to_ctx(priv);
|
|
|
|
|
|
if (s->type != V4L2_BUF_TYPE_VIDEO_OUTPUT &&
|
|
|
- s->type != V4L2_BUF_TYPE_VIDEO_CAPTURE &&
|
|
|
- ctx->jpeg->variant->version != SJPEG_S5P)
|
|
|
+ s->type != V4L2_BUF_TYPE_VIDEO_CAPTURE)
|
|
|
return -EINVAL;
|
|
|
|
|
|
/* For JPEG blob active == default == bounds */
|