mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-27 12:57:53 +00:00
ASoC: hisilicon: 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> Link: https://lore.kernel.org/r/87leel9m5l.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
e86cc958cf
commit
4f1ec3da4e
1 changed files with 1 additions and 1 deletions
|
@ -511,6 +511,7 @@ static int hi6210_i2s_dai_probe(struct snd_soc_dai *dai)
|
|||
|
||||
|
||||
static const struct snd_soc_dai_ops hi6210_i2s_dai_ops = {
|
||||
.probe = hi6210_i2s_dai_probe,
|
||||
.trigger = hi6210_i2s_trigger,
|
||||
.hw_params = hi6210_i2s_hw_params,
|
||||
.set_fmt = hi6210_i2s_set_fmt,
|
||||
|
@ -519,7 +520,6 @@ static const struct snd_soc_dai_ops hi6210_i2s_dai_ops = {
|
|||
};
|
||||
|
||||
static const struct snd_soc_dai_driver hi6210_i2s_dai_init = {
|
||||
.probe = hi6210_i2s_dai_probe,
|
||||
.playback = {
|
||||
.channels_min = 2,
|
||||
.channels_max = 2,
|
||||
|
|
Loading…
Reference in a new issue