OSDN Git Service

ASoC: hdmi-codec: return -ENOTSUPP for digital_mute
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 9 Jul 2020 01:55:36 +0000 (10:55 +0900)
committerMark Brown <broonie@kernel.org>
Thu, 16 Jul 2020 22:06:04 +0000 (23:06 +0100)
commite07e49c0d1e3693facf588142c4cbde45904b3f8
tree637cf12c336cc79d0b8366edf528465ec38f9d0b
parenta3f6bf8e544ac5fbfe72a331343fb6264373d04d
ASoC: hdmi-codec: return -ENOTSUPP for digital_mute

snd_soc_dai_digital_mute() will return -ENOTSUPP if driver doesn't
support mute.
In hdmi-codec case, hdmi_codec_digital_mute() will be used for it,
and each driver has .digital_mute() callback.
hdmi_codec_digital_mute() want to return -ENOTSUPP to follow it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87fta1xxjc.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/hdmi-codec.c