OSDN Git Service

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)
commit901e822b2e365dac4727e0ddffb444a2554b0a89
tree7c78badb56b599aab4cc6ab362cec155e79cbcd2
parentca2347190adb5e4eece73a2b16e96e651c46246b
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: 5c0769af4caf ("ASoC: soc-dai: add snd_soc_dai_bespoke_trigger()")
Fixes: 95aef3553384 ("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