dsp: add support for new AFE LSM cal types
Add support for new AFE LSM cal types in order to avoid topology and cal block overriding during concurrent use cases like SVA with speaker protection. CRs-Fixed: 2085865 Change-Id: I9af5c34ea7ad9403b9e6d63ac5d3e73e708a320e Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
9326b2df53
commit
3889b4aebb
@@ -77,6 +77,7 @@ size_t get_cal_info_size(int32_t cal_type)
|
||||
size = sizeof(struct audio_cal_info_audstrm);
|
||||
break;
|
||||
case AFE_TOPOLOGY_CAL_TYPE:
|
||||
case AFE_LSM_TOPOLOGY_CAL_TYPE:
|
||||
size = sizeof(struct audio_cal_info_afe_top);
|
||||
break;
|
||||
case AFE_CUST_TOPOLOGY_CAL_TYPE:
|
||||
@@ -86,6 +87,7 @@ size_t get_cal_info_size(int32_t cal_type)
|
||||
size = sizeof(struct audio_cal_info_afe);
|
||||
break;
|
||||
case AFE_COMMON_TX_CAL_TYPE:
|
||||
case AFE_LSM_TX_CAL_TYPE:
|
||||
size = sizeof(struct audio_cal_info_afe);
|
||||
break;
|
||||
case AFE_FB_SPKR_PROT_CAL_TYPE:
|
||||
@@ -223,6 +225,7 @@ size_t get_user_cal_type_size(int32_t cal_type)
|
||||
size = sizeof(struct audio_cal_type_audstrm);
|
||||
break;
|
||||
case AFE_TOPOLOGY_CAL_TYPE:
|
||||
case AFE_LSM_TOPOLOGY_CAL_TYPE:
|
||||
size = sizeof(struct audio_cal_type_afe_top);
|
||||
break;
|
||||
case AFE_CUST_TOPOLOGY_CAL_TYPE:
|
||||
@@ -232,6 +235,7 @@ size_t get_user_cal_type_size(int32_t cal_type)
|
||||
size = sizeof(struct audio_cal_type_afe);
|
||||
break;
|
||||
case AFE_COMMON_TX_CAL_TYPE:
|
||||
case AFE_LSM_TX_CAL_TYPE:
|
||||
size = sizeof(struct audio_cal_type_afe);
|
||||
break;
|
||||
case AFE_FB_SPKR_PROT_CAL_TYPE:
|
||||
|
Reference in New Issue
Block a user