@@ -341,9 +341,6 @@
/* FAILURE Codes : REG */
#define REG_EBASE (DSP_COMP_EBASE + 0x800)
-/* Invalid subkey parameter. */
-#define REG_E_INVALIDSUBKEY (REG_EBASE + 0x00)
-
/* Invalid entry parameter. */
#define REG_E_INVALIDENTRY (REG_EBASE + 0x01)
@@ -172,7 +172,7 @@ dsp_status regsup_enum_value(IN u32 dw_index, IN CONST char *pstrKey,
IN OUT char *pstrValue, IN OUT u32 * pdwValueSize,
IN OUT char *pstrData, IN OUT u32 * pdwDataSize)
{
- dsp_status ret = REG_E_INVALIDSUBKEY;
+ dsp_status ret = -ENOKEY;
struct reg_value *rv = (struct reg_value *)lst_first(reg_key_list);
u32 dw_key_len;
u32 count = 0;