mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 04:48:04 +09:00
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:
committed by
Dongjin Kim
parent
76ede7791e
commit
4ac52aaa0e
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user