ASoC: dsp: Speaker Protection V4
Support for Speaker Protection V4 feature. Change-Id: I2237836243a716d4ed3288c9c613bc8d4ec5a282 Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
This commit is contained in:

committed by
Sudheer Papothi

parent
e4efa1c51f
commit
00ee526deb
@@ -109,6 +109,9 @@ size_t get_cal_info_size(int32_t cal_type)
|
||||
size = max(sizeof(struct audio_cal_info_sp_ex_vi_ftm_cfg),
|
||||
sizeof(struct audio_cal_info_sp_ex_vi_param));
|
||||
break;
|
||||
case AFE_FB_SPKR_PROT_V4_EX_VI_CAL_TYPE:
|
||||
size = sizeof(struct audio_cal_info_sp_v4_ex_vi_param);
|
||||
break;
|
||||
case AFE_ANC_CAL_TYPE:
|
||||
size = 0;
|
||||
break;
|
||||
@@ -261,6 +264,9 @@ size_t get_user_cal_type_size(int32_t cal_type)
|
||||
size = max(sizeof(struct audio_cal_type_sp_ex_vi_ftm_cfg),
|
||||
sizeof(struct audio_cal_type_sp_ex_vi_param));
|
||||
break;
|
||||
case AFE_FB_SPKR_PROT_V4_EX_VI_CAL_TYPE:
|
||||
size = sizeof(struct audio_cal_type_sp_v4_ex_vi_param);
|
||||
break;
|
||||
case AFE_ANC_CAL_TYPE:
|
||||
size = 0;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user