Audio: Add control to enable/disable the loudspeaker amplifier whenever
authornamarta <namartax.kohli@intel.com>
Tue, 3 Apr 2012 08:32:23 +0000 (14:02 +0530)
committerbuildbot <buildbot@intel.com>
Tue, 10 Apr 2012 08:46:56 +0000 (01:46 -0700)
commit9be5c3c72eef6b1f04f0a81ce4b58294d86c8de1
tree95d94adebe041b0240ebc283ed8f7b26f21f9869
parent7d964f5dd132b25850d6cb18c5a6bb694fe81f21
Audio: Add control to enable/disable the loudspeaker amplifier whenever
speaker trun ON/OFF.

BZ: 26047

IHF speaker  buzzing noise caused by loudspeaker amplifier being active
all the time.

Loudspeaker amplifier is enabled when audio played to loudspeaker and
disabled when audio not played to loudspeaker.

Change-Id: Icd3f7a74e40ccf33395562609b0d81a6e7e224d5
Signed-off-by: namarta <namartax.kohli@intel.com>
Reviewed-on: http://android.intel.com:8080/38133
Reviewed-by: Kp, Jeeja <jeeja.kp@intel.com>
Reviewed-by: Koul, Vinod <vinod.koul@intel.com>
Reviewed-by: Gupta, ArvindX K <arvindx.k.gupta@intel.com>
Reviewed-by: Noziska, PatrickX J <patrickx.j.noziska@intel.com>
Reviewed-by: Hibare, PramodX <pramodx.hibare@intel.com>
Tested-by: Hibare, PramodX <pramodx.hibare@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
sound/soc/mid-x86/clv_machine.c