Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ea6ef9d1 authored by sangwoo's avatar sangwoo Committed by Vineeta Srivastava
Browse files

audio: msm8974: change the ACDB ID for voice call

msm8974 uses fluence version 5 in voice call.
So, ACDB ID for handset and speaker voice call should be changed to
41 and 43. It depends on ACDB mapping table.

Change-Id: I13990299230daa4cd0ade037d3c224f50013d9e9
parent 159cd3f1
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -174,10 +174,18 @@ static const int acdb_device_table[SND_DEVICE_MAX] = {
    [SND_DEVICE_IN_HDMI_MIC] = 4,
    [SND_DEVICE_IN_BT_SCO_MIC] = 21,
    [SND_DEVICE_IN_CAMCORDER_MIC] = 61,
#ifdef MSM8974
    [SND_DEVICE_IN_VOICE_DMIC_EF] = 41,
#else
    [SND_DEVICE_IN_VOICE_DMIC_EF] = 6,
#endif
    [SND_DEVICE_IN_VOICE_DMIC_BS] = 5,
    [SND_DEVICE_IN_VOICE_DMIC_EF_TMUS] = 91,
#ifdef MSM8974
    [SND_DEVICE_IN_VOICE_SPEAKER_DMIC_EF] = 43,
#else
    [SND_DEVICE_IN_VOICE_SPEAKER_DMIC_EF] = 13,
#endif
    [SND_DEVICE_IN_VOICE_SPEAKER_DMIC_BS] = 12,
    [SND_DEVICE_IN_VOICE_TTY_FULL_HEADSET_MIC] = 16,
    [SND_DEVICE_IN_VOICE_TTY_VCO_HANDSET_MIC] = 36,