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>