Commit aa1afd92 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Mark Brown

ASoC: intel: cht_bsw_max98090_ti: use snd_soc_dai_link_component for aux_dev

We can use snd_soc_dai_link_component to specify aux_dev.
Let's use it.
Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87v9v86war.wl-kuninori.morimoto.gx@renesas.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 14fdfc05
...@@ -324,9 +324,8 @@ static const struct snd_soc_ops cht_be_ssp2_ops = { ...@@ -324,9 +324,8 @@ static const struct snd_soc_ops cht_be_ssp2_ops = {
}; };
static struct snd_soc_aux_dev cht_max98090_headset_dev = { static struct snd_soc_aux_dev cht_max98090_headset_dev = {
.name = "Headset Chip", .dlc = COMP_AUX("i2c-104C227E:00"),
.init = cht_max98090_headset_init, .init = cht_max98090_headset_init,
.codec_name = "i2c-104C227E:00",
}; };
SND_SOC_DAILINK_DEF(dummy, SND_SOC_DAILINK_DEF(dummy,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment