hdmi_audio: fix passthrough for 4k DD+ This hack is no longer required, as hdmi_get_a...
authorArthur Liberman <arthur_liberman@hotmail.com>
Sun, 28 Apr 2019 20:35:34 +0000 (23:35 +0300)
committerNick Xie <nick@khadas.com>
Fri, 12 Jul 2019 05:36:03 +0000 (13:36 +0800)
drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hw/hdmi_tx_hw.c

index 2f5ea65..79ae492 100644 (file)
@@ -2302,14 +2302,6 @@ static void set_aud_acr_pkt(struct hdmitx_dev *hdev,
        else
                aud_n_para = hdmi_get_aud_n_paras(audio_param->sample_rate,
                        hdev->para->cd, char_rate);
-       /* N must mutiples 4 for DD+ */
-       switch (audio_param->type) {
-       case CT_DOLBY_D:
-               aud_n_para *= 4;
-               break;
-       default:
-               break;
-       }
        pr_info(HW "aud_n_para = %d\n", aud_n_para);
 
        /* ACR packet configuration */