Skip to content

Commit

Permalink
ipc: added IPC SET_MIC_PRIVACY_FW_MANAGED_POLICY_MAS
Browse files Browse the repository at this point in the history
Added empty implementation which always returns success

Signed-off-by: Michal Bukowski <[email protected]>
  • Loading branch information
mbukowsk authored and abonislawski committed Feb 8, 2025
1 parent f266ba7 commit 46b2efd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/audio/base_fw.c
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,15 @@ static int basefw_resource_allocation_request(bool first_block,
}
}

static int basefw_set_mic_priv_policy(bool first_block,
bool last_block,
uint32_t data_offset_or_size,
const char *data)
{
tr_info(&basefw_comp_tr, "basefw_set_mic_priv_policy");
return 0;
}

static int basefw_power_state_info_get(uint32_t *data_offset, char *data)
{
#if CONFIG_KCPS_DYNAMIC_CLOCK_CONTROL
Expand Down Expand Up @@ -657,6 +666,8 @@ static int basefw_set_large_config(struct comp_dev *dev,
case IPC4_RESOURCE_ALLOCATION_REQUEST:
return basefw_resource_allocation_request(first_block, last_block, data_offset,
data);
case IPC4_SET_MIC_PRIVACY_FW_MANAGED_POLICY_MASK:
return basefw_set_mic_priv_policy(first_block, last_block, data_offset, data);
default:
break;
}
Expand Down
2 changes: 2 additions & 0 deletions src/include/ipc4/base_fw.h
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,8 @@ enum ipc4_basefw_params {

/* Use LARGE_CONFIG_SET to change SDW ownership */
IPC4_SDW_OWNERSHIP = 31,

IPC4_SET_MIC_PRIVACY_FW_MANAGED_POLICY_MASK = 36,
};

enum ipc4_fw_config_params {
Expand Down

0 comments on commit 46b2efd

Please sign in to comment.