From: Rongjun Ying Date: Wed, 23 Jul 2014 05:19:32 +0000 (+0800) Subject: ASoC: sirf-usp: Fixed a bug for playback and capture work at the same time X-Git-Tag: omap-for-v3.17/fixes-against-rc2~144^2~5^2~3^3~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9779caf9faec1a366deb0b5877bfbc551917f03b;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed