@@ -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);