projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c300d6d
)
ASoC: tas5086: signedness bug in tas5086_hw_params()
author
Dan Carpenter
<dan.carpenter@oracle.com>
Wed, 13 Mar 2013 05:32:53 +0000
(08:32 +0300)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Wed, 13 Mar 2013 11:08:56 +0000
(11:08 +0000)
"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>
sound/soc/codecs/tas5086.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/tas5086.c
b/sound/soc/codecs/tas5086.c
index
40cee84
..
d447c4a
100644
(file)
--- 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);