ASoC: fsl_spdif: Add core clock control for DMA access
authorNicolin Chen <Guangyu.Chen@freescale.com>
Thu, 24 Apr 2014 10:52:24 +0000 (18:52 +0800)
committerMark Brown <broonie@linaro.org>
Thu, 24 Apr 2014 12:11:16 +0000 (13:11 +0100)
commit08f7336e6404698158966d0c8a2937d3580e2693
treec753ef45a3500322af5f625c71e6915adab7e26c
parentc9eaa447e77efe77b7fa4c953bd62de8297fd6c5
ASoC: fsl_spdif: Add core clock control for DMA access

Regmap is able to enable/disable the core clock automatically each time
it's going to access the registers. But for DMA cases during playback or
recording, it's totally beyong control of regmap. So we have to open the
clock manually.

Signed-off-by: Nicolin Chen <Guangyu.Chen@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/fsl/fsl_spdif.c