mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
audio: fix audio tdm mic noise and digital mic noise
PD#146748: audio capture noise on analog and digital mic Change-Id: Id9820999399d3d933fc055fa45188fc702bba211 Signed-off-by: Peipeng Zhao <peipeng.zhao@amlogic.com>
This commit is contained in:
committed by
Jianxin Pan
parent
51153256b0
commit
1c4ee2443d
@@ -438,8 +438,6 @@ static int aml_pdm_dai_prepare(
|
||||
toddr_type = 2;
|
||||
break;
|
||||
case 24:
|
||||
toddr_type = 3;
|
||||
break;
|
||||
case 32:
|
||||
toddr_type = 4;
|
||||
break;
|
||||
|
||||
@@ -270,7 +270,7 @@ void aml_tdm_set_slot(
|
||||
offset = EE_AUDIO_TDMIN_B_CTRL - EE_AUDIO_TDMIN_A_CTRL;
|
||||
reg = EE_AUDIO_TDMIN_A_CTRL + offset * index;
|
||||
aml_audiobus_update_bits(actrl, reg,
|
||||
0xf<<20|0x7<<16|0x1f, index<<20|(slot_width-1));
|
||||
0xf<<20|0x1f, index<<20|(slot_width-1));
|
||||
}
|
||||
|
||||
void aml_tdm_set_channel_mask(
|
||||
|
||||
Reference in New Issue
Block a user