[COMMON] media: mfc: remove debug mode when "But error"
authorSunyoung Kang <sy0816.kang@samsung.com>
Mon, 16 Jul 2018 07:20:33 +0000 (16:20 +0900)
committerSunyoung Kang <sy0816.kang@samsung.com>
Mon, 23 Jul 2018 06:19:06 +0000 (15:19 +0900)
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 <sy0816.kang@samsung.com>
drivers/media/platform/exynos/mfc/mfc_sync.c

index 406e62cbf89be5af2a6208fb135e9e56e3e81e52..4cf455c4bf5accbdf715116036fa36ab73153523 100644 (file)
@@ -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;
        }