ASoC: rt1015: add operation callback function for rt1015_dai[]

Message ID 20200302015424.9075-1-jack.yu@realtek.com
State New
Headers show
Series
  • ASoC: rt1015: add operation callback function for rt1015_dai[]
Related show

Commit Message

jack.yu@realtek.com March 2, 2020, 1:54 a.m.
From: Jack Yu <jack.yu@realtek.com>

Add operation callback function for rt1015_dai[].

Signed-off-by: Jack Yu <jack.yu@realtek.com>
---
 sound/soc/codecs/rt1015.c | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/sound/soc/codecs/rt1015.c b/sound/soc/codecs/rt1015.c
index c118d030bd2d..5fa21d8ab620 100644
--- a/sound/soc/codecs/rt1015.c
+++ b/sound/soc/codecs/rt1015.c
@@ -857,6 +857,7 @@  static struct snd_soc_dai_driver rt1015_dai[] = {
 			.rates = RT1015_STEREO_RATES,
 			.formats = RT1015_FORMATS,
 		},
+		.ops = &rt1015_aif_dai_ops,
 	}
 };