Skip to content

Commit 6ae5174

Browse files
committed
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 f087cb5 commit 6ae5174

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

src/audio/base_fw.c

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,15 @@ static int basefw_resource_allocation_request(bool first_block,
274274
}
275275
}
276276

277+
static int basefw_set_mic_priv_policy(bool first_block,
278+
bool last_block,
279+
uint32_t data_offset_or_size,
280+
const char *data)
281+
{
282+
tr_info(&basefw_comp_tr, "basefw_set_mic_priv_policy");
283+
return 0;
284+
}
285+
277286
static int basefw_power_state_info_get(uint32_t *data_offset, char *data)
278287
{
279288
#if CONFIG_KCPS_DYNAMIC_CLOCK_CONTROL
@@ -655,6 +664,8 @@ static int basefw_set_large_config(struct comp_dev *dev,
655664
case IPC4_RESOURCE_ALLOCATION_REQUEST:
656665
return basefw_resource_allocation_request(first_block, last_block, data_offset,
657666
data);
667+
case IPC4_SET_MIC_PRIVACY_FW_MANAGED_POLICY_MASK:
668+
return basefw_set_mic_priv_policy(first_block, last_block, data_offset, data);
658669
default:
659670
break;
660671
}

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)