Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 637917b1 authored by Daniel Mack's avatar Daniel Mack Committed by Mark Brown
Browse files

ASoC: core: fix return code in error message



Log the correct error code in case the .open() call to a component fails.

Signed-off-by: default avatarDaniel Mack <daniel@zonque.org>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 9ff3036a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -498,7 +498,7 @@ static int soc_pcm_open(struct snd_pcm_substream *substream)
		if (__ret < 0) {
			dev_err(component->dev,
				"ASoC: can't open component %s: %d\n",
				component->name, ret);
				component->name, __ret);
			ret = __ret;
		}
	}