Now that the code is cleaner is easy to spot them.

Signed-off-by: Felipe Contreras <felipe.contre...@gmail.com>
---
 drivers/dsp/bridge/wmd/ue_deh.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/dsp/bridge/wmd/ue_deh.c b/drivers/dsp/bridge/wmd/ue_deh.c
index 0a03e09..1add675 100644
--- a/drivers/dsp/bridge/wmd/ue_deh.c
+++ b/drivers/dsp/bridge/wmd/ue_deh.c
@@ -139,7 +139,7 @@ dsp_status bridge_deh_destroy(struct deh_mgr *hdeh_mgr)
        struct deh_mgr *deh_mgr_obj = (struct deh_mgr *)hdeh_mgr;
 
        if (!MEM_IS_VALID_HANDLE(deh_mgr_obj, SIGNATURE))
-               return DSP_SOK;
+               return DSP_EHANDLE;
 
        /* Release dummy VA buffer */
        bridge_deh_release_dummy_mem();
@@ -165,7 +165,7 @@ dsp_status bridge_deh_register_notify(struct deh_mgr 
*hdeh_mgr, u32 event_mask,
        struct deh_mgr *deh_mgr_obj = (struct deh_mgr *)hdeh_mgr;
 
        if (!MEM_IS_VALID_HANDLE(deh_mgr_obj, SIGNATURE))
-               return DSP_SOK;
+               return DSP_EHANDLE;
 
        return ntfy_register(deh_mgr_obj->ntfy_obj, hnotification,
                        event_mask, notify_type);
-- 
1.7.0.3

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to