diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-03-13 08:32:53 +0300 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-03-13 11:08:56 +0000 |
commit | 28dbd1611f5701c9b5b8c07924c1bd2ad6f64435 (patch) | |
tree | 8e44184948f3b19cdf89fe592d668fbab38fbe6e /sound | |
parent | c300d6de53ae029576b2805f08d8596d2e511b08 (diff) | |
download | blackbird-op-linux-28dbd1611f5701c9b5b8c07924c1bd2ad6f64435.tar.gz blackbird-op-linux-28dbd1611f5701c9b5b8c07924c1bd2ad6f64435.zip |
ASoC: tas5086: signedness bug in tas5086_hw_params()
"val" has to be signed for the error handling to work.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/tas5086.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/tas5086.c b/sound/soc/codecs/tas5086.c index 40cee844f0cf..d447c4aa1d5e 100644 --- a/sound/soc/codecs/tas5086.c +++ b/sound/soc/codecs/tas5086.c @@ -251,7 +251,7 @@ static int tas5086_hw_params(struct snd_pcm_substream *substream, { struct snd_soc_codec *codec = dai->codec; struct tas5086_private *priv = snd_soc_codec_get_drvdata(codec); - unsigned int val; + int val; int ret; priv->rate = params_rate(params); |