Kuninori Morimoto 03c0f1b5e1
ASoC: codecs: cs*: merge .digital_mute() into .mute_stream()
snd_soc_dai_digital_mute() is internally using both
mute_stream() (1) or digital_mute() (2), but the difference between
these 2 are only handling direction.
We can merge digital_mute() into mute_stream

	int snd_soc_dai_digital_mute(xxx, int direction)
	{
		...
		else if (dai->driver->ops->mute_stream)
(1)			return dai->driver->ops->mute_stream(xxx, direction);
		else if (direction == SNDRV_PCM_STREAM_PLAYBACK &&
			 dai->driver->ops->digital_mute)
(2)			return dai->driver->ops->digital_mute(xxx);
		...
	}

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Link: https://lore.kernel.org/r/87r1tlwiwe.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-07-16 23:06:19 +01:00
..
2018-02-27 10:41:34 +00:00
2019-10-25 11:06:57 +01:00
2020-01-07 22:29:38 +00:00
2018-04-26 12:44:15 +01:00
2020-03-23 18:17:22 +00:00
2019-06-12 13:52:26 +01:00
2020-01-10 13:31:49 +00:00
2020-01-09 21:22:36 +00:00
2020-01-13 14:58:45 +00:00
2020-05-07 13:18:04 +01:00
2020-05-07 13:18:04 +01:00
2019-07-26 13:10:09 +01:00
2018-05-18 11:20:11 +01:00
2018-06-01 12:05:30 +01:00
2020-05-04 19:23:59 +01:00
2020-05-26 10:55:37 +01:00