diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2020-02-17 11:28:11 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-02-19 02:37:04 +0300 |
commit | cae06eb92557f0a073835380e57abee5f8173d73 (patch) | |
tree | fac454c3fc0b2c3007e28c51b6901ba07bb75b24 /include/sound/soc-dai.h | |
parent | 085d22be035db245c44714cf879a73eae06c9f6b (diff) | |
download | linux-cae06eb92557f0a073835380e57abee5f8173d73.tar.xz |
ASoC: soc-pcm: use goto and remove multi return
When we use some kind of lock, we need to do unlock.
In that time, multi unlock/return is not good implementation.
This patch add label and use goto at dpcm_fe_dai_open()
to reduce such code.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/877e0lboty.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/soc-dai.h')
0 files changed, 0 insertions, 0 deletions