]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
ASoC: amd: acp: fix for inconsistent indenting
authorVijendar Mukunda <Vijendar.Mukunda@amd.com>
Mon, 7 Oct 2024 08:53:19 +0000 (14:23 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 7 Oct 2024 14:35:44 +0000 (15:35 +0100)
Fix below Smatch static checker warning:

sound/soc/amd/acp/acp-sdw-sof-mach.c:365 sof_card_dai_links_create()
warn: inconsistent indenting

Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/all/a201e871-375e-43eb-960d-5c048956c2ff@amd.com/T/
Fixes: 6d8348ddc56e ("ASoC: amd: acp: refactor SoundWire machine driver code")
Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Link: https://patch.msgid.link/20241007085321.3991149-2-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp/acp-sdw-sof-mach.c

index 306854fb08e3d7d13805ccfba405ed6e9c2e65b9..acab2675d1f5c816e530187327f0de40010aaf27 100644 (file)
@@ -362,7 +362,7 @@ static int sof_card_dai_links_create(struct snd_soc_card *card)
        dai_links = devm_kcalloc(dev, num_links, sizeof(*dai_links), GFP_KERNEL);
        if (!dai_links) {
                ret = -ENOMEM;
-       goto err_end;
+               goto err_end;
        }
 
        card->codec_conf = codec_conf;