aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8728.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/wm8728.c')
-rw-r--r--sound/soc/codecs/wm8728.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sound/soc/codecs/wm8728.c b/sound/soc/codecs/wm8728.c
index 3e39dea61241..71949bd320d3 100644
--- a/sound/soc/codecs/wm8728.c
+++ b/sound/soc/codecs/wm8728.c
@@ -147,7 +147,8 @@ static int wm8728_mute(struct snd_soc_dai *dai, int mute)
147} 147}
148 148
149static int wm8728_hw_params(struct snd_pcm_substream *substream, 149static int wm8728_hw_params(struct snd_pcm_substream *substream,
150 struct snd_pcm_hw_params *params) 150 struct snd_pcm_hw_params *params,
151 struct snd_soc_dai *dai)
151{ 152{
152 struct snd_soc_pcm_runtime *rtd = substream->private_data; 153 struct snd_soc_pcm_runtime *rtd = substream->private_data;
153 struct snd_soc_device *socdev = rtd->socdev; 154 struct snd_soc_device *socdev = rtd->socdev;
@@ -269,8 +270,6 @@ struct snd_soc_dai wm8728_dai = {
269 }, 270 },
270 .ops = { 271 .ops = {
271 .hw_params = wm8728_hw_params, 272 .hw_params = wm8728_hw_params,
272 },
273 .dai_ops = {
274 .digital_mute = wm8728_mute, 273 .digital_mute = wm8728_mute,
275 .set_fmt = wm8728_set_dai_fmt, 274 .set_fmt = wm8728_set_dai_fmt,
276 } 275 }