Skip to content

Commit 6bc9bd3

Browse files
committed
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 <yung-chuan.liao@linux.intel.com>
1 parent dd5ff34 commit 6bc9bd3

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

sound/soc/sof/topology.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2489,7 +2489,6 @@ int snd_sof_load_topology(struct snd_soc_component *scomp, const char *file)
24892489
if (ret < 0) {
24902490
dev_err(scomp->dev, "error: tplg component load failed %d\n",
24912491
ret);
2492-
ret = -EINVAL;
24932492
}
24942493

24952494
release_firmware(fw);

0 commit comments

Comments
 (0)