From b0a6bab69637ed2c60007762991ceddae9405c07 Mon Sep 17 00:00:00 2001 From: Bard Liao Date: Tue, 19 Nov 2024 15:54:16 +0800 Subject: [PATCH] ASoC: SOF: topology: don't convert error code No need to convert the return value of snd_soc_tplg_component_load(). Signed-off-by: Bard Liao --- sound/soc/sof/topology.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/sof/topology.c b/sound/soc/sof/topology.c index 234dcc3402ad5a..89309f0668ac7b 100644 --- a/sound/soc/sof/topology.c +++ b/sound/soc/sof/topology.c @@ -2489,7 +2489,6 @@ int snd_sof_load_topology(struct snd_soc_component *scomp, const char *file) if (ret < 0) { dev_err(scomp->dev, "error: tplg component load failed %d\n", ret); - ret = -EINVAL; } release_firmware(fw);