summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bd6f565)
raw | patch | inline | side by side (parent: bd6f565)
author | Frank Livingston <frank-livingston@ti.com> | |
Wed, 9 May 2018 23:50:56 +0000 (18:50 -0500) | ||
committer | Frank Livingston <frank-livingston@ti.com> | |
Wed, 9 May 2018 23:50:56 +0000 (18:50 -0500) |
Code crashes in D10_init() on new interface w/o run-once control in place.
pasdk/test_dsp/framework/audioStreamInpProcNewIO.c | patch | blob | history |
diff --git a/pasdk/test_dsp/framework/audioStreamInpProcNewIO.c b/pasdk/test_dsp/framework/audioStreamInpProcNewIO.c
index 6400252941abd461e026217fae7636b14f382610..4e6b92cd39af8504329d44bab98f1dae4743c862 100644 (file)
// Requested device is other than InNone
//
- //if (!d10Initialized)
- //{
+ if (!d10Initialized)
+ {
// FL: probably no harm in calling this for every new i/f request.
// However, it can probably be moved to main() or sys init task.
// Initialize McASP HW details
// Initialize Rx hardware
D10_init((void *)pD10Params);
- // d10Initialized=1;
- //}
-
- if (!d10Initialized)
- {
- d10Initialized=1; // global flag indicating D10 init completed
+ d10Initialized=1;
}
+
+ //if (!d10Initialized)
+ //{
+ // d10Initialized=1; // global flag indicating D10 init completed
+ //}
pReqLldCfg = (mcaspLLDconfig *)pD10Params->sio.pConfig;
if (pReqLldCfg->hMcaspChan == NULL)