Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7e76c13b authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ASOC: Speaker Protection V4"

parents 0e55cca9 78732302
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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;