]> 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)
commit33b64ab77951510bb34ed1be59a9424192de54b4
tree7c78badb56b599aab4cc6ab362cec155e79cbcd2
parentf82439136cb20f489aa747b8813117775261a667
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: efd2adfb1ff3 ("ASoC: soc-dai: add snd_soc_dai_bespoke_trigger()")
Fixes: 5ced52d0b077 ("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