| .. | .. |
|---|
| 60 | 60 | return 0; |
|---|
| 61 | 61 | } |
|---|
| 62 | 62 | |
|---|
| 63 | | -static int pcm1789_digital_mute(struct snd_soc_dai *codec_dai, int mute) |
|---|
| 63 | +static int pcm1789_mute(struct snd_soc_dai *codec_dai, int mute, int direction) |
|---|
| 64 | 64 | { |
|---|
| 65 | 65 | struct snd_soc_component *component = codec_dai->component; |
|---|
| 66 | 66 | struct pcm1789_private *priv = snd_soc_component_get_drvdata(component); |
|---|
| .. | .. |
|---|
| 167 | 167 | static const struct snd_soc_dai_ops pcm1789_dai_ops = { |
|---|
| 168 | 168 | .set_fmt = pcm1789_set_dai_fmt, |
|---|
| 169 | 169 | .hw_params = pcm1789_hw_params, |
|---|
| 170 | | - .digital_mute = pcm1789_digital_mute, |
|---|
| 170 | + .mute_stream = pcm1789_mute, |
|---|
| 171 | 171 | .trigger = pcm1789_trigger, |
|---|
| 172 | + .no_capture_mute = 1, |
|---|
| 172 | 173 | }; |
|---|
| 173 | 174 | |
|---|
| 174 | 175 | static const DECLARE_TLV_DB_SCALE(pcm1789_dac_tlv, -12000, 50, 1); |
|---|