ASoC: soc-pcm: use dpcm_get_be() at dpcm_end_walk_at_be()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 17 Feb 2020 08:27:53 +0000 (17:27 +0900)
committerMark Brown <broonie@kernel.org>
Tue, 18 Feb 2020 23:37:00 +0000 (23:37 +0000)
commit027a483871832044fa0cb8e9df208cca5230ae91
treeee90ff1e38abc50d79f573434b3abc15b072a554
parentc2cd821603c216a6a7242b2b4c1a093051e26aaf
ASoC: soc-pcm: use dpcm_get_be() at dpcm_end_walk_at_be()

dpcm_end_walk_at_be() and dpcm_get_be() are almost same code.
This patch uses dpcm_get_be() from dpcm_end_walk_at_be().

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/87d0adbouh.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-pcm.c