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: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Reviewed-by: Alexander Sverdlin <alexander.sverdlin@gmail.com> Link: https://lore.kernel.org/r/87wmy59m7a.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
cfacc4d8c0
commit
dd64a7546d
@ -407,6 +407,7 @@ static int ep93xx_i2s_resume(struct snd_soc_component *component)
|
||||
#endif
|
||||
|
||||
static const struct snd_soc_dai_ops ep93xx_i2s_dai_ops = {
|
||||
.probe = ep93xx_i2s_dai_probe,
|
||||
.startup = ep93xx_i2s_startup,
|
||||
.shutdown = ep93xx_i2s_shutdown,
|
||||
.hw_params = ep93xx_i2s_hw_params,
|
||||
@ -418,7 +419,6 @@ static const struct snd_soc_dai_ops ep93xx_i2s_dai_ops = {
|
||||
|
||||
static struct snd_soc_dai_driver ep93xx_i2s_dai = {
|
||||
.symmetric_rate = 1,
|
||||
.probe = ep93xx_i2s_dai_probe,
|
||||
.playback = {
|
||||
.channels_min = 2,
|
||||
.channels_max = 2,
|
||||
|
Loading…
x
Reference in New Issue
Block a user