aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-12-10 00:22:17 +0900
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-12-10 00:22:17 +0900
commita50345152e9f66e3bc7847c58980b55f5ff7bec4 (patch)
tree84994f751e6e39f0fdca3d207cf7ff1a57617e4e /sound
parentd5767418393f55ac5f01d372c9887c7267aa59d9 (diff)
parent2525808ee827267e794d9931cd305e95ffb76605 (diff)
Merge remote-tracking branch 'asoc/topic/rt5631' into asoc-next
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/rt5631.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt5631.c b/sound/soc/codecs/rt5631.c
index 960d0e93cce..d6ca615489e 100644
--- a/sound/soc/codecs/rt5631.c
+++ b/sound/soc/codecs/rt5631.c
@@ -1382,7 +1382,7 @@ static int rt5631_hifi_pcm_params(struct snd_pcm_substream *substream,
timesofbclk);
if (coeff < 0) {
dev_err(codec->dev, "Fail to get coeff\n");
- return -EINVAL;
+ return coeff;
}
switch (params_format(params)) {