Commit 3715c6aa authored by Ben Dooks's avatar Ben Dooks Committed by Mark Brown

ASoC: Fix s3c-i2s-v2.c snd_soc_dai changes

Fix the build error in s3c-i2s-v2.c caused by
a change to the snd_soc_dai ops field.
Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 1d2b7ae9
...@@ -624,10 +624,12 @@ static int s3c2412_i2s_resume(struct snd_soc_dai *dai) ...@@ -624,10 +624,12 @@ static int s3c2412_i2s_resume(struct snd_soc_dai *dai)
int s3c_i2sv2_register_dai(struct snd_soc_dai *dai) int s3c_i2sv2_register_dai(struct snd_soc_dai *dai)
{ {
dai->ops.trigger = s3c2412_i2s_trigger; struct snd_soc_dai_ops *ops = dai->ops;
dai->ops.hw_params = s3c2412_i2s_hw_params;
dai->ops.set_fmt = s3c2412_i2s_set_fmt; ops->trigger = s3c2412_i2s_trigger;
dai->ops.set_clkdiv = s3c2412_i2s_set_clkdiv; ops->hw_params = s3c2412_i2s_hw_params;
ops->set_fmt = s3c2412_i2s_set_fmt;
ops->set_clkdiv = s3c2412_i2s_set_clkdiv;
dai->suspend = s3c2412_i2s_suspend; dai->suspend = s3c2412_i2s_suspend;
dai->resume = s3c2412_i2s_resume; dai->resume = s3c2412_i2s_resume;
......
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