summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mixer/simple_none.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mixer/simple_none.c b/src/mixer/simple_none.c
index 1debacd8..9b217acc 100644
--- a/src/mixer/simple_none.c
+++ b/src/mixer/simple_none.c
@@ -1022,7 +1022,7 @@ static int parse_db_range(struct selem_str *rec, unsigned int *tlv,
default:
break;
}
- return 1; /* not found */
+ return -EINVAL; /* not found */
}
/* convert the given raw volume value to a dB gain