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

ASoC: cirrus: merge DAI call back functions into ops

ALSA SoC merges DAI call backs into .ops.
This patch merge these into one.
Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: default avatarAlexander Sverdlin <alexander.sverdlin@gmail.com>
Link: https://lore.kernel.org/r/87wmy59m7a.wl-kuninori.morimoto.gx@renesas.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent cfacc4d8
...@@ -407,6 +407,7 @@ static int ep93xx_i2s_resume(struct snd_soc_component *component) ...@@ -407,6 +407,7 @@ static int ep93xx_i2s_resume(struct snd_soc_component *component)
#endif #endif
static const struct snd_soc_dai_ops ep93xx_i2s_dai_ops = { static const struct snd_soc_dai_ops ep93xx_i2s_dai_ops = {
.probe = ep93xx_i2s_dai_probe,
.startup = ep93xx_i2s_startup, .startup = ep93xx_i2s_startup,
.shutdown = ep93xx_i2s_shutdown, .shutdown = ep93xx_i2s_shutdown,
.hw_params = ep93xx_i2s_hw_params, .hw_params = ep93xx_i2s_hw_params,
...@@ -418,7 +419,6 @@ static const struct snd_soc_dai_ops ep93xx_i2s_dai_ops = { ...@@ -418,7 +419,6 @@ static const struct snd_soc_dai_ops ep93xx_i2s_dai_ops = {
static struct snd_soc_dai_driver ep93xx_i2s_dai = { static struct snd_soc_dai_driver ep93xx_i2s_dai = {
.symmetric_rate = 1, .symmetric_rate = 1,
.probe = ep93xx_i2s_dai_probe,
.playback = { .playback = {
.channels_min = 2, .channels_min = 2,
.channels_max = 2, .channels_max = 2,
......
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