diff options
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/platform/s5p-mfc/s5p_mfc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc.c b/drivers/media/platform/s5p-mfc/s5p_mfc.c index 6347f09ca783..5050168ad211 100644 --- a/drivers/media/platform/s5p-mfc/s5p_mfc.c +++ b/drivers/media/platform/s5p-mfc/s5p_mfc.c | |||
@@ -582,8 +582,7 @@ static void s5p_mfc_handle_stream_complete(struct s5p_mfc_ctx *ctx, | |||
582 | 582 | ||
583 | clear_work_bit(ctx); | 583 | clear_work_bit(ctx); |
584 | 584 | ||
585 | if (test_and_clear_bit(0, &dev->hw_lock) == 0) | 585 | WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); |
586 | WARN_ON(1); | ||
587 | 586 | ||
588 | s5p_mfc_clock_off(); | 587 | s5p_mfc_clock_off(); |
589 | wake_up(&ctx->queue); | 588 | wake_up(&ctx->queue); |