linux/sound/soc/mediatek
Pierre-Louis Bossart 439c06f341
ASoC: mediatek: mt8195: fix return value
cppcheck reports the following warning:

sound/soc/mediatek/mt8195/mt8195-dai-etdm.c:1299:10: style: Variable
'ret' is assigned a value that is never used. [unreadVariable]
 int ret = 0;
         ^

The suggested change aligns the implementation of
mt8195_afe_disable_etdm() with mt8195_afe_enable_etdm() - same
negative return value upon error.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20211025185933.144327-8-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2021-10-27 11:31:15 +01:00
..
common ASoC: mediatek: remove unnecessary initialization 2021-10-27 11:31:12 +01:00
mt2701 ASoC: mediatek: Constify static snd_soc_ops 2021-10-13 12:59:28 +01:00
mt6797 ASoC: mediatek: sync parameter naming (rate/sample_bits) 2021-01-21 12:37:55 +00:00
mt8173 ASoC: mediatek: mt8173: rename local irq variable 2021-03-12 14:29:54 +00:00
mt8183 ASoC: mediatek: Constify static snd_soc_ops 2021-10-13 12:59:28 +01:00
mt8192 ASoC: mediatek: mt8192:Fix Unbalanced pm_runtime_enable in mt8192_afe_pcm_dev_probe 2021-07-11 23:47:34 +01:00
mt8195 ASoC: mediatek: mt8195: fix return value 2021-10-27 11:31:15 +01:00
Kconfig ASoC: mediatek: add required config dependency 2021-09-09 14:16:25 +01:00
Makefile ASoC: mediatek: mt8195: add platform driver 2021-08-24 19:13:56 +01:00