From fd87125f82f553031608cad727aebef85f4e06a1 Mon Sep 17 00:00:00 2001 From: Sunyoung Kang Date: Mon, 16 Jul 2018 16:20:33 +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: I42130b2bcf9f40ed18a1675c1d9ca996d355fb7e Signed-off-by: Sunyoung Kang --- drivers/media/platform/exynos/mfc/mfc_sync.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/media/platform/exynos/mfc/mfc_sync.c b/drivers/media/platform/exynos/mfc/mfc_sync.c index 406e62cbf89b..4cf455c4bf5a 100644 --- a/drivers/media/platform/exynos/mfc/mfc_sync.c +++ b/drivers/media/platform/exynos/mfc/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