aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/mc1n2/mc1n2.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/mc1n2/mc1n2.c')
-rw-r--r--sound/soc/codecs/mc1n2/mc1n2.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/sound/soc/codecs/mc1n2/mc1n2.c b/sound/soc/codecs/mc1n2/mc1n2.c
index 17dbefa..cbd5959 100644
--- a/sound/soc/codecs/mc1n2/mc1n2.c
+++ b/sound/soc/codecs/mc1n2/mc1n2.c
@@ -52,6 +52,10 @@
#include "mc1n2_cfg_lgt.h"
#elif defined(CONFIG_MACH_PX)
#include "mc1n2_cfg_px.h"
+#elif defined(CONFIG_TARGET_LOCALE_NA)
+#include "mcresctrl.h"
+#include "mcdefs.h"
+#include "mc1n2_cfg_SPR.h"
#else
#include "mc1n2_cfg.h"
#endif
@@ -3671,6 +3675,17 @@ static int mc1n2_hwdep_ioctl_set_ctrl(struct snd_soc_codec *codec,
#endif
}
+#ifdef CONFIG_TARGET_LOCALE_NA
+ if (args->dCmd == MCDRV_SET_AUDIOENGINE) {
+ MCDRV_AE_INFO sAeInfo;
+ UINT8 bReg;
+
+ McResCtrl_GetAeInfo(&sAeInfo);
+ bReg = McResCtrl_GetRegVal(MCDRV_PACKET_REGTYPE_A,
+ MCI_BDSP_ST);
+ }
+#endif
+
err = _McDrv_Ctrl(args->dCmd, info, args->dPrm);
kfree(info);