[WORKAROUND]audio: SW support to swap mic bias1 & bias2
BZ: 39873
Lex PR1.1 and PR2.1 have their AMIC bias lines are swapped.
Codec and Machine driver needs to handle the difference
between these two boards using SPID.
During driver initialization drivers reads SPID and based on
board, appropriate audio map is initialized. In machine driver,
use appropriate AMIC Bias to handle headset button presses.
This patch should be reverted once Lex PR1.1 is EOLed.
Change-Id: I11c35644419e2d6b683cbb0e130c3bac51f4dfe9
Signed-off-by: KuldeepX Vyas <kuldeepx.vyas@intel.com>
Signed-off-by: Ramesh Babu K V <ramesh.babu@intel.com>
Reviewed-on: http://android.intel.com:8080/53652
Reviewed-by: Koul, Vinod <vinod.koul@intel.com>
Tested-by: Gupta, ArvindX K <arvindx.k.gupta@intel.com>
Reviewed-by: Yang, Fei <fei.yang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>