MLK-14609-2 ASoC: fsl: consolidate substream lock_stop/unlock_start
authorOctavian Purdila <octavian.purdila@nxp.com>
Fri, 14 Apr 2017 13:18:46 +0000 (16:18 +0300)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:22:01 +0000 (15:22 -0500)
commit56197be7b753c9b716c6d32ba694f3562600fb84
treecbb4787bd0bd3764c1cd5ed8df75dfb9d55929b3
parent706ea3305f2f330adc81ff3e9034cbcfa88ff83a
MLK-14609-2 ASoC: fsl: consolidate substream lock_stop/unlock_start

Add common imx_stop_lock_pcm_streams and imx_start_unlock_pcm_streams
functions to remove code duplication in fsl_asrc and fsl_esai.

Signed-off-by: Octavian Purdila <octavian.purdila@nxp.com>
sound/soc/fsl/fsl_asrc.c
sound/soc/fsl/fsl_esai.c
sound/soc/fsl/imx-pcm.h