mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
Merge "dsp: adm: Obtain path type from session type"
This commit is contained in:
commit
ce22ebd4f8
1 changed files with 3 additions and 1 deletions
|
|
@ -42,6 +42,8 @@
|
|||
#define DS2_ADM_COPP_TOPOLOGY_ID 0xFFFFFFFF
|
||||
#endif
|
||||
|
||||
#define SESSION_TYPE_RX 0
|
||||
|
||||
/* ENUM for adm_status */
|
||||
enum adm_cal_status {
|
||||
ADM_STATUS_CALIBRATION_REQUIRED = 0,
|
||||
|
|
@ -573,7 +575,7 @@ int adm_programable_channel_mixer(int port_id, int copp_idx, int session_id,
|
|||
adm_pspd_params[3] = ch_mixer->input_channels[channel_index];
|
||||
index = 4;
|
||||
|
||||
path_type = (afe_get_port_type(port_id) == MSM_AFE_PORT_TYPE_RX) ?
|
||||
path_type = (session_type == SESSION_TYPE_RX) ?
|
||||
ADM_PATH_PLAYBACK : ADM_PATH_LIVE_REC;
|
||||
|
||||
if (ch_mixer->override_out_ch_map) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue