OSDN Git Service

ASoC: fsl_esai: Wrap some operations to be functions
authorShengjiu Wang <shengjiu.wang@nxp.com>
Thu, 11 Jul 2019 10:49:45 +0000 (18:49 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 22 Jul 2019 12:10:39 +0000 (13:10 +0100)
commit5be6155b50bbf7083b4bfa219e4ce6d1491f42f0
tree656bfd07932899af084833f62e965ce404eb65e9
parent4dc057a786dc23fd1ed70e6bcab691c0f26daa1e
ASoC: fsl_esai: Wrap some operations to be functions

Extract the operation to be functions, to improve the
readability.

In this patch, fsl_esai_hw_init, fsl_esai_register_restore,
fsl_esai_trigger_start and fsl_esai_trigger_stop are
extracted.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>
Link: https://lore.kernel.org/r/804d7e75ae7e06a913479912b578b3538ca7cd3f.1562842206.git.shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_esai.c