Commit 228d0210 authored by Ramesh Gupta's avatar Ramesh Gupta Committed by Hari Kanigeri

DSPBRIDGE: minor fix for proc stop

This patch sets proper processor state in
Proc_Stop.
Signed-off-by: default avatarRamesh Gupta G <grgupta@ti.com>
parent 1cfd9dd9
...@@ -896,6 +896,7 @@ static DSP_STATUS WMD_BRD_Stop(struct WMD_DEV_CONTEXT *hDevContext) ...@@ -896,6 +896,7 @@ static DSP_STATUS WMD_BRD_Stop(struct WMD_DEV_CONTEXT *hDevContext)
HW_RST_Reset(resources.dwPrmBase, HW_RST1_TESLA); HW_RST_Reset(resources.dwPrmBase, HW_RST1_TESLA);
/* Enable DSP */ /* Enable DSP */
HW_CLK_Enable (resources.dwCm1Base, HW_CLK_TESLA) ; HW_CLK_Enable (resources.dwCm1Base, HW_CLK_TESLA) ;
pDevContext->dwBrdState = BRD_STOPPED; /* update board state */
#else #else
HW_PWRST_IVA2RegGet(resources.dwPrmBase, &dspPwrState); HW_PWRST_IVA2RegGet(resources.dwPrmBase, &dspPwrState);
if (dspPwrState != HW_PWR_STATE_OFF) { if (dspPwrState != HW_PWR_STATE_OFF) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment