From: Sunyoung Kang Date: Thu, 12 Jul 2018 02:09:19 +0000 (+0900) Subject: [COMMON] media: mfc: remove debug mode when "But error" X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=03754e461cb0014cbd7879fc7f5e82d60107c523;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [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 --- 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; }