mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 17:03:47 -04: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:
committed by
Mark Brown
parent
de046f2ddb
commit
d1f1c34556
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user