From 03754e461cb0014cbd7879fc7f5e82d60107c523 Mon Sep 17 00:00:00 2001 From: Sunyoung Kang Date: Thu, 12 Jul 2018 11:09:19 +0900 Subject: [PATCH] [COMMON] media: mfc: remove debug mode when "But error" If the result has error in s5p_mfc_wait_for_done_ctx() the debug mode generates panic. If there is an error stream, panic will always occur. So this removes the debug mode in that case. Change-Id: I89b124fdb41ca8fe7ca16cc9cd7d3251011242d7 Signed-off-by: Sunyoung Kang --- drivers/media/platform/exynos/mfc/s5p_mfc_sync.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/media/platform/exynos/mfc/s5p_mfc_sync.c b/drivers/media/platform/exynos/mfc/s5p_mfc_sync.c index 762bfb8597c7..9864d534485b 100644 --- a/drivers/media/platform/exynos/mfc/s5p_mfc_sync.c +++ b/drivers/media/platform/exynos/mfc/s5p_mfc_sync.c @@ -119,7 +119,6 @@ wait_done: mfc_err_ctx("Finished (ctx->int_reason:%d, command: %d).\n", ctx->int_reason, command); mfc_err_ctx("But error (ctx->int_err:%d).\n", ctx->int_err); - call_dop(dev, dump_and_stop_debug_mode, dev); return -1; } -- 2.20.1