提交 28dbd161 编写于 作者: D Dan Carpenter 提交者: Mark Brown

ASoC: tas5086: signedness bug in tas5086_hw_params()

"val" has to be signed for the error handling to work.
Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com>
Acked-by: NDaniel Mack <zonque@gmail.com>
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 c300d6de
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册