From: Sunyoung Kang Date: Fri, 20 Jul 2018 09:06:14 +0000 (+0900) Subject: Revert "[COMMON] media: mfc: remove debug mode when "But error"" X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e5a9e313ec0d3088714f5998f92b44328e41f46e;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git Revert "[COMMON] media: mfc: remove debug mode when "But error"" This reverts commit 03754e461cb0014cbd7879fc7f5e82d60107c523. Change-Id: Iccb0f095f98d2b12a3ff60b77c12dac387e71fcc Signed-off-by: Sunyoung Kang --- diff --git a/drivers/media/platform/exynos/mfc/s5p_mfc_sync.c b/drivers/media/platform/exynos/mfc/s5p_mfc_sync.c index 9864d534485b..762bfb8597c7 100644 --- a/drivers/media/platform/exynos/mfc/s5p_mfc_sync.c +++ b/drivers/media/platform/exynos/mfc/s5p_mfc_sync.c @@ -119,6 +119,7 @@ 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; }