hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/sound/soc/codecs/sta529.c
....@@ -251,7 +251,7 @@
251251 return 0;
252252 }
253253
254
-static int sta529_mute(struct snd_soc_dai *dai, int mute)
254
+static int sta529_mute(struct snd_soc_dai *dai, int mute, int direction)
255255 {
256256 u8 val = 0;
257257
....@@ -291,7 +291,8 @@
291291 static const struct snd_soc_dai_ops sta529_dai_ops = {
292292 .hw_params = sta529_hw_params,
293293 .set_fmt = sta529_set_dai_fmt,
294
- .digital_mute = sta529_mute,
294
+ .mute_stream = sta529_mute,
295
+ .no_capture_mute = 1,
295296 };
296297
297298 static struct snd_soc_dai_driver sta529_dai = {