Revert "[COMMON] media: mfc: remove debug mode when "But error""
authorSunyoung Kang <sy0816.kang@samsung.com>
Fri, 20 Jul 2018 09:06:14 +0000 (18:06 +0900)
committerSunyoung Kang <sy0816.kang@samsung.com>
Mon, 23 Jul 2018 06:12:18 +0000 (15:12 +0900)
This reverts commit 03754e461cb0014cbd7879fc7f5e82d60107c523.

Change-Id: Iccb0f095f98d2b12a3ff60b77c12dac387e71fcc
Signed-off-by: Sunyoung Kang <sy0816.kang@samsung.com>
drivers/media/platform/exynos/mfc/s5p_mfc_sync.c

index 9864d534485b19ad8483d126c7a624b5d355752e..762bfb8597c7b4111cb8ad146ec7b3852e2056d0 100644 (file)
@@ -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;
        }