Skip to content

Commit

Permalink
ASoC: SOF: topology: don't convert error code
Browse files Browse the repository at this point in the history
No need to convert the return value of snd_soc_tplg_component_load().

Signed-off-by: Bard Liao <[email protected]>
  • Loading branch information
bardliao committed Nov 22, 2024
1 parent 9e958d6 commit b0a6bab
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sound/soc/sof/topology.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b0a6bab

Please sign in to comment.