Merge "asoc: dsp: do extention to support aptx adaptive R2"

This commit is contained in:
qctecmdr 2019-05-27 20:10:02 -07:00 • committed by Gerrit - the friendly Code Review server
commit 5df0e02847
2 changed files with 12 additions and 0 deletions

View file

@ -3308,6 +3308,15 @@ static const struct snd_kcontrol_new afe_enc_config_controls[] = {
.get = msm_dai_q6_afe_enc_cfg_get,
.put = msm_dai_q6_afe_enc_cfg_put,
},
{
.access = (SNDRV_CTL_ELEM_ACCESS_READWRITE |
SNDRV_CTL_ELEM_ACCESS_INACTIVE),
.iface = SNDRV_CTL_ELEM_IFACE_PCM,
.name = "SLIM_7_RX APTX_AD Enc Cfg",
.info = msm_dai_q6_afe_enc_cfg_info,
.get = msm_dai_q6_afe_enc_cfg_get,
.put = msm_dai_q6_afe_enc_cfg_put,
},
SOC_ENUM_EXT("AFE Input Channels", afe_chs_enum[0],
msm_dai_q6_afe_input_channel_get,
msm_dai_q6_afe_input_channel_put),

View file

@ -3889,6 +3889,9 @@ struct afe_id_aptx_adaptive_enc_init
uint32_t min_sink_modeC;
uint32_t max_sink_modeC;
uint32_t mode;
uint32_t input_mode;
uint32_t fade_duration;
uint8_t sink_cap[11];
} __attribute__ ((packed));
/*