ASoC: sirf-usp: Fixed a bug for playback and capture work at the same time
authorRongjun Ying <rongjun.ying@csr.com>
Wed, 23 Jul 2014 05:19:32 +0000 (13:19 +0800)
committerMark Brown <broonie@linaro.org>
Fri, 25 Jul 2014 17:54:44 +0000 (18:54 +0100)
commit9779caf9faec1a366deb0b5877bfbc551917f03b
tree2be96760ed428ed1e346b0ca0059982c4cac5a12
parent90eb1ab9e40c2d7596d9160151f6df4b5a71645f
ASoC: sirf-usp: Fixed a bug for playback and capture work at the same time

1. The startup function invoked when the playback and capture.
   If start playback when capturing, the registers are re-initinitialised.
   That cause the playback fail. So move the startup code into runtime resume.
2. Modified: If non RUNTIME_PM support, the probe need enable clock and
   initinitialise registers.
3. Refine code.

Signed-off-by: Rongjun Ying <rongjun.ying@csr.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/sirf/sirf-usp.c
This page took 0.026013 seconds and 5 git commands to generate.