Message ID | 1247669795-23895-11-git-send-email-ameya.palande@nokia.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
diff --git a/drivers/dsp/bridge/wmd/tiomap_sm.c b/drivers/dsp/bridge/wmd/tiomap_sm.c index 7d389e3..02e2675 100644 --- a/drivers/dsp/bridge/wmd/tiomap_sm.c +++ b/drivers/dsp/bridge/wmd/tiomap_sm.c @@ -141,6 +141,13 @@ DSP_STATUS CHNLSM_InterruptDSP2(struct WMD_DEV_CONTEXT *pDevContext, temp = (temp & 0xFFFFFF08) | 0x37; *(REG_UWORD32 *)(resources.dwCmBase + 0x4) = temp; + /* + * This delay is needed to avoid mailbox timed out + * issue experienced while SmartReflex is ON. + * TODO: Instead of 1 ms calculate proper value. + */ + mdelay(1); + /* Restore mailbox settings */ HW_MBOX_restoreSettings(resources.dwMboxBase);