mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
ASoC: tas5086: signedness bug in tas5086_hw_params()
"val" has to be signed for the error handling to work. Signed-off-by: Dan Carpenter <[email protected]> Acked-by: Daniel Mack <[email protected]> Signed-off-by: Mark Brown <[email protected]>
This commit is contained in:
parent
c300d6de53
commit
28dbd1611f
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue