mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-25 10:59:05 +00: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.
Fixes: af93574678
("[media] MFC: Add MFC 5.1 V4L2 driver")
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: stable@vger.kernel.org # v3.7+
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
5ea289febd
commit
a5cb00eb42
@ -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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user