From 3dabbe6096544135e563dcf079348151d949be57 Mon Sep 17 00:00:00 2001 From: afl1 Date: Sat, 9 Mar 2019 17:10:51 +0100 Subject: [PATCH] sound/soc/auge: fix clock for DD+ --- sound/soc/amlogic/common/spdif_info.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sound/soc/amlogic/common/spdif_info.c b/sound/soc/amlogic/common/spdif_info.c index 0093d7372d87..5caeee5768c2 100644 --- a/sound/soc/amlogic/common/spdif_info.c +++ b/sound/soc/amlogic/common/spdif_info.c @@ -38,8 +38,7 @@ bool spdif_is_4x_clk(void) { bool is_4x = false; - if (IEC958_mode_codec == 4 || IEC958_mode_codec == 5 || - IEC958_mode_codec == 7 || IEC958_mode_codec == 8) { + if (IEC958_mode_codec == 7 || IEC958_mode_codec == 8) { is_4x = true; } @@ -80,8 +79,6 @@ void spdif_get_channel_status_info( } } else if (IEC958_mode_codec == 8 || IEC958_mode_codec == 7) { /* DTS-HD MA, TrueHD */ - chsts->chstat0_l = 0x8206; - chsts->chstat0_r = 0x8206; chsts->chstat1_l = 0x900; chsts->chstat1_r = 0x900; } else {