.. | .. |
---|
251 | 251 | return 0; |
---|
252 | 252 | } |
---|
253 | 253 | |
---|
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) |
---|
255 | 255 | { |
---|
256 | 256 | u8 val = 0; |
---|
257 | 257 | |
---|
.. | .. |
---|
291 | 291 | static const struct snd_soc_dai_ops sta529_dai_ops = { |
---|
292 | 292 | .hw_params = sta529_hw_params, |
---|
293 | 293 | .set_fmt = sta529_set_dai_fmt, |
---|
294 | | - .digital_mute = sta529_mute, |
---|
| 294 | + .mute_stream = sta529_mute, |
---|
| 295 | + .no_capture_mute = 1, |
---|
295 | 296 | }; |
---|
296 | 297 | |
---|
297 | 298 | static struct snd_soc_dai_driver sta529_dai = { |
---|