ASoC: Intel: sof_maxim_common: add else between 2 if test
authorBard Liao <yung-chuan.liao@linux.intel.com>
Mon, 27 Nov 2023 15:26:29 +0000 (17:26 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 27 Nov 2023 16:32:49 +0000 (16:32 +0000)
commit06dea47be6d3d0ad3ef5f7c9dd0947d1c825e0ff
tree190e77852bf155018e7bb47ca2aad8a7a018cdd4
parent9425039741e84120fc936fbb5a9a7a1410fd9409
ASoC: Intel: sof_maxim_common: add else between 2 if test

if (!strcmp(codec_dai->component->name, MAX_98373_DEV0_NAME)) and
if (!strcmp(codec_dai->component->name, MAX_98373_DEV1_NAME)) can't be
true at the same time. Add an else to clarify it.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Chao Song <chao.song@linux.intel.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20231127152654.28204-3-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/sof_maxim_common.c