Skip to content

Commit aa73744

Browse files
mbukowskabonislawski
authored andcommitted
ipc: added IPC SET_MIC_PRIVACY_FW_MANAGED_POLICY_MAS
Added empty implementation which always returns success Signed-off-by: Michal Bukowski <michal.bukowski@intel.com>
1 parent 7eb50fc commit aa73744

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

src/audio/base_fw.c

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,15 @@ static int basefw_resource_allocation_request(bool first_block,
277277
}
278278
}
279279

280+
static int basefw_set_mic_priv_policy(bool first_block,
281+
bool last_block,
282+
uint32_t data_offset_or_size,
283+
const char *data)
284+
{
285+
tr_info(&basefw_comp_tr, "basefw_set_mic_priv_policy");
286+
return 0;
287+
}
288+
280289
static int basefw_power_state_info_get(uint32_t *data_offset, char *data)
281290
{
282291
#if CONFIG_KCPS_DYNAMIC_CLOCK_CONTROL
@@ -658,6 +667,8 @@ static int basefw_set_large_config(struct comp_dev *dev,
658667
case IPC4_RESOURCE_ALLOCATION_REQUEST:
659668
return basefw_resource_allocation_request(first_block, last_block, data_offset,
660669
data);
670+
case IPC4_SET_MIC_PRIVACY_FW_MANAGED_POLICY_MASK:
671+
return basefw_set_mic_priv_policy(first_block, last_block, data_offset, data);
661672
default:
662673
break;
663674
}

src/include/ipc4/base_fw.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,8 @@ enum ipc4_basefw_params {
288288

289289
/* Use LARGE_CONFIG_SET to change SDW ownership */
290290
IPC4_SDW_OWNERSHIP = 31,
291+
292+
IPC4_SET_MIC_PRIVACY_FW_MANAGED_POLICY_MASK = 36,
291293
};
292294

293295
enum ipc4_fw_config_params {

0 commit comments

Comments
 (0)