*HACK*: status register should be checked for this purpose. [Hiroshi DOYU: split the original to logical ones] Signed-off-by: Ameya Palande <ameya.palande@xxxxxxxxx> Acked-by: Omar Ramirez Luna <omar.ramirez@xxxxxx> --- drivers/dsp/bridge/wmd/tiomap_sm.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) 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); -- 1.6.2.4 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html