mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 05:17:10 +09:00
media: s5p-mfc: Fix unbalanced call to clock management
Clock should be turned off after calling s5p_mfc_init_hw() from the
watchdog worker, like it is already done in the s5p_mfc_open() which also
calls this function.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Fixes: af93574678 ("[media] MFC: Add MFC 5.1 V4L2 driver")
CC: stable@vger.kernel.org # v3.7+
Signed-off-by: memeka <mihailescu2m@gmail.com>
Signed-off-by: Ard van Breemen <ard@kwaak.net>
This commit is contained in:
committed by
Ard van Breemen
parent
0f47ba7335
commit
8518369cad
@@ -211,6 +211,7 @@ static void s5p_mfc_watchdog_worker(struct work_struct *work)
|
||||
}
|
||||
s5p_mfc_clock_on();
|
||||
ret = s5p_mfc_init_hw(dev);
|
||||
s5p_mfc_clock_off();
|
||||
if (ret)
|
||||
mfc_err("Failed to reinit FW\n");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user