hdmi_audio: fix passthrough for 4k DD+ This hack is no longer required, as hdmi_get_aud_n_paras() now handles the multiplier correctly.

This commit is contained in:
Arthur Liberman
2019-04-28 23:35:34 +03:00
committed by Dongjin Kim
parent 76ede7791e
commit 4ac52aaa0e

View File

@@ -2674,14 +2674,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 */