]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: soc-component: fix a couple missing error assignments
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 23 Sep 2019 14:22:57 +0000 (17:22 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 23 Sep 2019 21:16:17 +0000 (14:16 -0700)
commit5e8609587cccc926f3fdb3738e2e50fc7400410d
tree7c78badb56b599aab4cc6ab362cec155e79cbcd2
parenta979cbb89734754892c06b69c9b6d3140ee45479
ASoC: soc-component: fix a couple missing error assignments

There were a couple places where the return value wasn't assigned so the
error handling wouldn't trigger.

Fixes: ec3f252a4ccf ("ASoC: soc-dai: add snd_soc_dai_bespoke_trigger()")
Fixes: e463fd9f4dcd ("ASoC: soc-dai: add snd_soc_dai_trigger()")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20190923142257.GB31251@mwanda
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-pcm.c