s5p-mfc: correct improper logs
authorZhaowei Yuan <zhaowei.yuan@samsung.com>
Mon, 21 Jul 2014 06:47:52 +0000 (14:47 +0800)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 03:00:23 +0000 (12:00 +0900)
This patch corrects improper logs within the code init hardware.

Change-Id: Ia5380723bf9398128412e050cadfaf1cb734d17e
Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
drivers/media/platform/s5p-mfc/s5p_mfc_ctrl.c

index 0e1830e..c89adb6 100644 (file)
@@ -284,9 +284,9 @@ int s5p_mfc_init_hw(struct s5p_mfc_dev *dev)
                s5p_mfc_clock_off();
                return ret;
        }
-       mfc_debug(2, "Ok, now will write a command to init the system\n");
+       mfc_debug(2, "Ok, now will wait for completion of hardware init\n");
        if (s5p_mfc_wait_for_done_dev(dev, S5P_MFC_R2H_CMD_SYS_INIT_RET)) {
-               mfc_err("Failed to load firmware\n");
+               mfc_err("Failed to init hardware\n");
                s5p_mfc_reset(dev);
                s5p_mfc_clock_off();
                return -EIO;