projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95a5720
)
vdac: fix atv/dtv resume no signal issue [1/1]
author
Nian Jing
<nian.jing@amlogic.com>
Fri, 23 Nov 2018 03:05:03 +0000
(11:05 +0800)
committer
Jianxin Pan
<jianxin.pan@amlogic.com>
Fri, 23 Nov 2018 08:00:36 +0000
(
00:00
-0800)
PD#SWPL-2351
Problem:
atv/dtv no signal when suspend after switch from hdmi
Solution:
disable vdac bandgap when suspend
Verify:
test pass on P321
Change-Id: I0449f0d9673f46928b8951249f5759a4a1f16562
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
drivers/amlogic/media/vout/vdac/vdac_dev.c
patch
|
blob
|
history
diff --git
a/drivers/amlogic/media/vout/vdac/vdac_dev.c
b/drivers/amlogic/media/vout/vdac/vdac_dev.c
index
7383b85
..
5f50dc9
100644
(file)
--- a/
drivers/amlogic/media/vout/vdac/vdac_dev.c
+++ b/
drivers/amlogic/media/vout/vdac/vdac_dev.c
@@
-691,6
+691,8
@@
static int __exit aml_vdac_remove(struct platform_device *pdev)
static int amvdac_drv_suspend(struct platform_device *pdev,
pm_message_t state)
{
+ if (s_vdac_data->cpu_id == VDAC_CPU_TXL)
+ vdac_hiu_reg_write(HHI_VDAC_CNTL0, 0);
pr_info("%s: suspend module\n", __func__);
return 0;
}