From d204178ebf7f315c4754dfaccaa44df927831619 Mon Sep 17 00:00:00 2001 From: Xing Wang Date: Wed, 12 Jun 2019 13:27:43 +0800 Subject: [PATCH] audio: auge: fix ARC to single mode [1/1] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PD#SWPL-8967 Problem: ARC amplitude,The test value is 0.376V, requiring 0.4-0.6VPP Solution: update to single mode Verify: tl1 Change-Id: I59198596f6db22ec49eea35084325005f13bc5b6 Signed-off-by: Xing Wang --- sound/soc/amlogic/auge/audio_utils.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sound/soc/amlogic/auge/audio_utils.c b/sound/soc/amlogic/auge/audio_utils.c index 2d232262e132..bc618e00ebf0 100644 --- a/sound/soc/amlogic/auge/audio_utils.c +++ b/sound/soc/amlogic/auge/audio_utils.c @@ -973,7 +973,8 @@ void fratv_LR_swap(bool swap) void cec_arc_enable(int src, bool enable) { + /* bits[1:0], 0x2: common; 0x1: single; 0x0: disabled */ aml_hiubus_update_bits(HHI_HDMIRX_ARC_CNTL, 0x1f << 0, - src << 2 | enable << 1 | 0x0 << 0); + src << 2 | (enable ? 0x1 : 0) << 0); }