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>
这个提交包含在:

提交者
Gerrit - the friendly Code Review server

父节点
cb9ebaa0b7
当前提交
1b69ddf3c3
@@ -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 */
|
||||
|
在新工单中引用
屏蔽一个用户