From: Felipe Contreras <felipe.contreras@xxxxxxxxx> Not really used. Signed-off-by: Felipe Contreras <felipe.contreras@xxxxxxxxx> --- drivers/dsp/bridge/wmd/_tiomap.h | 1 - drivers/dsp/bridge/wmd/tiomap3430.c | 2 -- drivers/dsp/bridge/wmd/tiomap_sm.c | 6 ++---- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/dsp/bridge/wmd/_tiomap.h b/drivers/dsp/bridge/wmd/_tiomap.h index 10fd9cd..815f695 100644 --- a/drivers/dsp/bridge/wmd/_tiomap.h +++ b/drivers/dsp/bridge/wmd/_tiomap.h @@ -361,7 +361,6 @@ struct WMD_DEV_CONTEXT { u32 dwBrdState; /* Last known board state. */ u32 ulIntMask; /* int mask */ u16 ioBase; /* Board I/O base */ - u16 wIntrVal2Dsp; /* MBX value to DSP. See mbx_sh.h */ u32 numTLBEntries; /* DSP MMU TLB entry counter */ u32 fixedTLBEntries; /* Fixed DSPMMU TLB entry count */ diff --git a/drivers/dsp/bridge/wmd/tiomap3430.c b/drivers/dsp/bridge/wmd/tiomap3430.c index e2b590f..c0f4ffc 100644 --- a/drivers/dsp/bridge/wmd/tiomap3430.c +++ b/drivers/dsp/bridge/wmd/tiomap3430.c @@ -1035,8 +1035,6 @@ static DSP_STATUS WMD_DEV_Create(OUT struct WMD_DEV_CONTEXT **ppDevContext, if (DSP_SUCCEEDED(status)) { /* Set the Endianism Register */ /* Need to set this */ - /* default to Proc-copy */ - pDevContext->wIntrVal2Dsp = MBX_PCPY_CLASS; /* Retrieve the TC u16 SWAP Option */ status = REG_GetValue(NULL, CURRENTCONFIG, TCWORDSWAP, (u8 *)&tcWordSwap, &tcWordSwapSize); diff --git a/drivers/dsp/bridge/wmd/tiomap_sm.c b/drivers/dsp/bridge/wmd/tiomap_sm.c index 5ae94ea..da90821 100644 --- a/drivers/dsp/bridge/wmd/tiomap_sm.c +++ b/drivers/dsp/bridge/wmd/tiomap_sm.c @@ -152,12 +152,10 @@ DSP_STATUS CHNLSM_InterruptDSP2(struct WMD_DEV_CONTEXT *pDevContext, } } DBG_Trace(DBG_LEVEL3, "writing %x to Mailbox\n", - pDevContext->wIntrVal2Dsp); + wMbVal); HW_MBOX_MsgWrite(resources.dwMboxBase, MBOX_ARM2DSP, - pDevContext->wIntrVal2Dsp); - /* set the Mailbox interrupt to default value */ - pDevContext->wIntrVal2Dsp = MBX_PCPY_CLASS; + wMbVal); return DSP_SOK; } -- 1.6.2.1.287.g9a8be -- 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