mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
vpp: recovery vpu hw set when vpu power closed in STR [1/1]
PD#SWPL-160993 Problem: recovery vpu hw set when vpu power closed in STR Solution: recovery vpu hw set when vpu power closed in STR Verify: s7 Change-Id: I2dd2f1ae24791deab42d426aa8aa626e206080e2 Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
This commit is contained in:
committed by
gerrit autosubmit
parent
b9d7718ece
commit
fac8d78ecf
@@ -2980,6 +2980,12 @@ static int vpu_suspend(struct device *dev)
|
||||
static int vpu_resume(struct device *dev)
|
||||
{
|
||||
unsigned int clk;
|
||||
int ret;
|
||||
|
||||
ret = vpu_power_init_check();
|
||||
vpu_clktree_init(dev);
|
||||
if (ret)
|
||||
vpu_power_init();
|
||||
|
||||
if (!vpu_conf.data)
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user