uapi: extend struct of spk prot for ADSP SPv3
To support speaker protection v3, add sp version and limiter threshold in spk_prot_cfg struct. Change-Id: Ia4c89934e00bfa8c0e0c6823f48d56baf6759f14 Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
8b1366a648
commit
b5321975e7
@@ -108,6 +108,7 @@ enum {
|
||||
#define AFE_SIDETONE_IIR_CAL_TYPE AFE_SIDETONE_IIR_CAL_TYPE
|
||||
|
||||
#define TOPOLOGY_SPECIFIC_CHANNEL_INFO
|
||||
#define MSM_SPKR_PROT_SPV3
|
||||
|
||||
enum {
|
||||
VERSION_0_0,
|
||||
@@ -301,6 +302,10 @@ struct audio_cal_info_spk_prot_cfg {
|
||||
* 1 - Start calib
|
||||
* 2 - Disable spk prot
|
||||
*/
|
||||
#ifdef MSM_SPKR_PROT_SPV3
|
||||
uint32_t sp_version;
|
||||
int32_t limiter_th[SP_V2_NUM_MAX_SPKRS];
|
||||
#endif
|
||||
};
|
||||
|
||||
struct audio_cal_info_sp_th_vi_ftm_cfg {
|
||||
|
Reference in New Issue
Block a user