Merge pull request #40 in PROCESSOR-SDK/pdk from PRSDK-7455 to master
authorMahesh Radhakrishnan <a0875154@ti.com>
Wed, 4 Dec 2019 17:49:55 +0000 (11:49 -0600)
committerMahesh Radhakrishnan <a0875154@ti.com>
Wed, 4 Dec 2019 17:49:55 +0000 (11:49 -0600)
* commit '13124fa6079d8b5cef83c123ddcb88c240ba4711':
  mcasp: PRSDK-7455: Example fix on j721e/c66x

packages/ti/drv/mcasp/example/j721e/src/audio_evmInit.c

index bbb243561074c205e9fe37d06b88c311feea4e4e..4a2d85b1fc7044ea4b0ac9ff003bc77ff34c47dc 100644 (file)
@@ -150,21 +150,21 @@ void C66x_intrConfig(void)
 void configureAudio(void)
 {
        Board_STATUS stat = BOARD_SOK;
-       Board_initCfg arg = BOARD_INIT_PINMUX_CONFIG | BOARD_INIT_UNLOCK_MMR | BOARD_INIT_UART_STDIO;
+       Board_initCfg arg = BOARD_INIT_PINMUX_CONFIG | BOARD_INIT_UART_STDIO;
     Sciclient_ConfigPrms_t sciClientCfg;
 
-#if defined (SOC_J721E)
-#if defined (_TMS320C6X)
-    C66x_intrConfig();
-#endif
-#endif
-
        stat = Board_init(arg);
        if(stat != BOARD_SOK)
     {
            MCASP_log("Board init failed!!");
        }
 
+#if defined (SOC_J721E)
+#if defined (_TMS320C6X)
+    C66x_intrConfig();
+#endif
+#endif
+
 #if !defined (DEVICE_LOOPBACK)
     IoExpanderConfig();
 #endif