Skip to content

Commit 46b2efd

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 <[email protected]>
1 parent f266ba7 commit 46b2efd

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
@@ -276,6 +276,15 @@ static int basefw_resource_allocation_request(bool first_block,
276276
}
277277
}
278278

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

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)