hc
2024-05-14 bedbef8ad3e75a304af6361af235302bcc61d06b
kernel/sound/soc/codecs/tfa9879.c
....@@ -93,7 +93,7 @@
9393 return 0;
9494 }
9595
96
-static int tfa9879_digital_mute(struct snd_soc_dai *dai, int mute)
96
+static int tfa9879_mute_stream(struct snd_soc_dai *dai, int mute, int direction)
9797 {
9898 struct snd_soc_component *component = dai->component;
9999
....@@ -251,8 +251,9 @@
251251
252252 static const struct snd_soc_dai_ops tfa9879_dai_ops = {
253253 .hw_params = tfa9879_hw_params,
254
- .digital_mute = tfa9879_digital_mute,
254
+ .mute_stream = tfa9879_mute_stream,
255255 .set_fmt = tfa9879_set_fmt,
256
+ .no_capture_mute = 1,
256257 };
257258
258259 #define TFA9879_RATES SNDRV_PCM_RATE_8000_96000