mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 11:01:06 -04:00
[media] media: s5p-mfc: correct improper logs
This patch corrects improper logs within the code initializing hardware. Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com> Signed-off-by: Kamil Debski <k.debski@samsung.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
6c5c680b85
commit
e47ccb1de5
@@ -258,9 +258,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;
|
||||
|
||||
Reference in New Issue
Block a user