From 85db5ff49c5c5783fe2fc5efac0527c34a51e93a Mon Sep 17 00:00:00 2001 From: Nian Jing Date: Fri, 23 Nov 2018 11:05:03 +0800 Subject: [PATCH] vdac: fix atv/dtv resume no signal issue [1/1] 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 --- drivers/amlogic/media/vout/vdac/vdac_dev.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/amlogic/media/vout/vdac/vdac_dev.c b/drivers/amlogic/media/vout/vdac/vdac_dev.c index 7383b85..5f50dc9 100644 --- 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; } -- 2.7.4