From: Felipe Contreras <felipe.contreras@xxxxxxxxx> Not used anymore, move to CHNLSM_InterruptDSP2. Signed-off-by: Felipe Contreras <felipe.contreras@xxxxxxxxx> --- arch/arm/plat-omap/include/dspbridge/chnl_sm.h | 16 ---------------- drivers/dsp/bridge/wmd/tiomap_sm.c | 10 ++-------- 2 files changed, 2 insertions(+), 24 deletions(-) diff --git a/arch/arm/plat-omap/include/dspbridge/chnl_sm.h b/arch/arm/plat-omap/include/dspbridge/chnl_sm.h index 546754b..789b9bd 100644 --- a/arch/arm/plat-omap/include/dspbridge/chnl_sm.h +++ b/arch/arm/plat-omap/include/dspbridge/chnl_sm.h @@ -24,7 +24,6 @@ * Public Functions: * CHNLSM_DisableInterrupt; * CHNLSM_EnableInterrupt; - * CHNLSM_InterruptDSP; * CHNLSM_ISR; * CHNLSM_Read; * CHNLSM_UpdateSHMLength; @@ -69,21 +68,6 @@ hDevContext); /* - * ======== CHNLSM_InterruptDSP ======== - * Purpose: - * Send an interrupt to the DSP processor(s). - * Parameters: - * hDevContext: Handle to mini-driver defined device info. - * Returns: - * DSP_SOK: Interrupt sent; - * else: Unable to send interrupt. - * Requires: - * Ensures: - */ - extern DSP_STATUS CHNLSM_InterruptDSP(struct WMD_DEV_CONTEXT* - hDevContext); - -/* * ======== CHNLSM_InterruptDSP2 ======== * Purpose: * Set interrupt value & send an interrupt to the DSP processor(s). diff --git a/drivers/dsp/bridge/wmd/tiomap_sm.c b/drivers/dsp/bridge/wmd/tiomap_sm.c index 735f8e9..5ae94ea 100644 --- a/drivers/dsp/bridge/wmd/tiomap_sm.c +++ b/drivers/dsp/bridge/wmd/tiomap_sm.c @@ -97,7 +97,8 @@ DSP_STATUS CHNLSM_DisableInterrupt(struct WMD_DEV_CONTEXT *pDevContext) return DSP_SOK; } -DSP_STATUS CHNLSM_InterruptDSP(struct WMD_DEV_CONTEXT *pDevContext) +DSP_STATUS CHNLSM_InterruptDSP2(struct WMD_DEV_CONTEXT *pDevContext, + u16 wMbVal) { #ifdef CONFIG_BRIDGE_DVFS struct dspbridge_platform_data *pdata = @@ -160,13 +161,6 @@ DSP_STATUS CHNLSM_InterruptDSP(struct WMD_DEV_CONTEXT *pDevContext) return DSP_SOK; } -DSP_STATUS CHNLSM_InterruptDSP2(struct WMD_DEV_CONTEXT *pDevContext, - u16 wMbVal) -{ - pDevContext->wIntrVal2Dsp = wMbVal; - return CHNLSM_InterruptDSP(pDevContext); -} - bool CHNLSM_ISR(struct WMD_DEV_CONTEXT *pDevContext, bool *pfSchedDPC, u16 *pwIntrVal) { -- 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