]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - sound/soc/codecs/tas571x.c
ASoC: codecs: tas*: merge .digital_mute() into .mute_stream()
[mirror_ubuntu-hirsute-kernel.git] / sound / soc / codecs / tas571x.c
index 5b7f9fcf6cbf3b2781f0f38df83f37cfb7efb110..835a723ce5bc082eebe1c6c95f9edf8b32b6a6cd 100644 (file)
@@ -301,7 +301,7 @@ static int tas571x_hw_params(struct snd_pcm_substream *substream,
                                  TAS571X_SDI_FMT_MASK, val);
 }
 
-static int tas571x_mute(struct snd_soc_dai *dai, int mute)
+static int tas571x_mute(struct snd_soc_dai *dai, int mute, int direction)
 {
        struct snd_soc_component *component = dai->component;
        u8 sysctl2;
@@ -354,7 +354,8 @@ static int tas571x_set_bias_level(struct snd_soc_component *component,
 static const struct snd_soc_dai_ops tas571x_dai_ops = {
        .set_fmt        = tas571x_set_dai_fmt,
        .hw_params      = tas571x_hw_params,
-       .digital_mute   = tas571x_mute,
+       .mute_stream    = tas571x_mute,
+       .no_capture_mute = 1,
 };