[PORT FROM R2] [Workaround][Audio] Reduce pmdown_time to 1 second
authorFabien Barthes <fabienx.barthes@intel.com>
Wed, 14 Dec 2011 17:38:13 +0000 (18:38 +0100)
committerbuildbot <buildbot@intel.com>
Tue, 20 Dec 2011 14:48:57 +0000 (06:48 -0800)
BZ: 14981

ASoc core powering down delay is reduced to 1 sec. The switching time
was measured in the driver to be around 110ms for switching b/w HS
and IHF, so 1 second delay is sufficient.

Change-Id: Id877db188f7fb03223ee3a0c7e6f69834b02527b
Old-Change-Id: Ib4528a9af4b5d0b6fa37c847d0ec484ec5e1e11d
Signed-off-by: Fabien Barthes <fabienx.barthes@intel.com>
Reviewed-on: http://android.intel.com:8080/29238
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
sound/soc/soc-core.c

index 92aaa20..3736248 100644 (file)
@@ -65,7 +65,7 @@ static int soc_new_pcm(struct snd_soc_pcm_runtime *rtd, int num);
  * It can be used to eliminate pops between different playback streams, e.g.
  * between two audio tracks.
  */
-static int pmdown_time = 5000;
+static int pmdown_time = 1000;
 module_param(pmdown_time, int, 0);
 MODULE_PARM_DESC(pmdown_time, "DAPM stream powerdown time (msecs)");