From 30810b73f7ee93438c0703e504cc699b238f86aa Mon Sep 17 00:00:00 2001 From: Sunyoung Kang Date: Mon, 16 Jul 2018 16:22:39 +0900 Subject: [PATCH] [COMMON] media: mfc: enable dump when ITMON dest is mfc When the ITMON's dest is MFC, the master info is NULL and the MFC debug info is not shown. So this adds to check dest info even if master info is NULL. Change-Id: Iac6a99059d4a82a3bfb8d97b20ff5d760f3a3598 Signed-off-by: Sunyoung Kang --- drivers/media/platform/exynos/mfc/mfc.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/media/platform/exynos/mfc/mfc.c b/drivers/media/platform/exynos/mfc/mfc.c index 7b450ffc9897..7ae8fca3435f 100644 --- a/drivers/media/platform/exynos/mfc/mfc.c +++ b/drivers/media/platform/exynos/mfc/mfc.c @@ -1180,9 +1180,6 @@ static int __mfc_itmon_notifier(struct notifier_block *nb, unsigned long action, if (IS_ERR_OR_NULL(itmon_info)) return NOTIFY_DONE; - if (!itmon_info->master) - return NOTIFY_DONE; - /* print dump if it is an MFC ITMON error */ if ((strncmp("MFC", itmon_info->port, sizeof("MFC") - 1) == 0) && (strncmp("MFC", itmon_info->master, sizeof("MFC") - 1) == 0)) { -- 2.20.1