diff options
Diffstat (limited to 'drivers/media/video/s5p-mfc/s5p_mfc.c')
-rw-r--r-- | drivers/media/video/s5p-mfc/s5p_mfc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/video/s5p-mfc/s5p_mfc.c b/drivers/media/video/s5p-mfc/s5p_mfc.c index e43e128baf5f..83fe461af263 100644 --- a/drivers/media/video/s5p-mfc/s5p_mfc.c +++ b/drivers/media/video/s5p-mfc/s5p_mfc.c | |||
@@ -18,7 +18,6 @@ | |||
18 | #include <linux/platform_device.h> | 18 | #include <linux/platform_device.h> |
19 | #include <linux/sched.h> | 19 | #include <linux/sched.h> |
20 | #include <linux/slab.h> | 20 | #include <linux/slab.h> |
21 | #include <linux/version.h> | ||
22 | #include <linux/videodev2.h> | 21 | #include <linux/videodev2.h> |
23 | #include <linux/workqueue.h> | 22 | #include <linux/workqueue.h> |
24 | #include <media/videobuf2-core.h> | 23 | #include <media/videobuf2-core.h> |
@@ -475,7 +474,7 @@ static void s5p_mfc_handle_seq_done(struct s5p_mfc_ctx *ctx, | |||
475 | ctx->mv_size = 0; | 474 | ctx->mv_size = 0; |
476 | } | 475 | } |
477 | ctx->dpb_count = s5p_mfc_get_dpb_count(); | 476 | ctx->dpb_count = s5p_mfc_get_dpb_count(); |
478 | if (ctx->img_width == 0 || ctx->img_width == 0) | 477 | if (ctx->img_width == 0 || ctx->img_height == 0) |
479 | ctx->state = MFCINST_ERROR; | 478 | ctx->state = MFCINST_ERROR; |
480 | else | 479 | else |
481 | ctx->state = MFCINST_HEAD_PARSED; | 480 | ctx->state = MFCINST_HEAD_PARSED; |