asoc: Replace wsa883x with wsa884x in machine driver

Add bat_cfg, system_gain, and rload parameters to properly configure wsa884x

Change-Id: Ibb4de17a9935f178293bc17314784ff87a978815
Signed-off-by: Matthew Rice <mrice@quicinc.com>
这个提交包含在:
Matthew Rice
2021-10-27 10:51:47 -07:00
提交者 Gerrit - the friendly Code Review server
父节点 cb9ebaa0b7
当前提交 1b69ddf3c3
修改 3 个文件,包含 49 行新增20 行删除

查看文件

@@ -25,6 +25,8 @@ int wsa884x_codec_info_create_codec_entry(
struct snd_info_entry *codec_root,
struct snd_soc_component *component);
int wsa884x_codec_get_dev_num(struct snd_soc_component *component);
int wsa884x_set_configuration(struct snd_soc_component *component,
u8 rload, u8 bat_cfg, u8 system_gain);
#else
static int wsa884x_set_channel_map(struct snd_soc_component *component,
u8 *port, u8 num_port, unsigned int *ch_mask,
@@ -44,6 +46,12 @@ static int wsa884x_codec_get_dev_num(struct snd_soc_component *component)
{
return 0;
}
static int wsa884x_set_configuration(struct snd_soc_component *component,
u8 rload, u8 bat_cfg, u8 system_gain)
{
return 0;
}
#endif
#endif /* _WSA884X_H */