Skip to content

Commit

Permalink
Merge branch 'for-2.6.38' into for-2.6.39
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Brown committed Jan 19, 2011
2 parents 474b62d + 78b3fb4 commit e66ef2f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sound/soc/codecs/wm8994.c
Original file line number Diff line number Diff line change
Expand Up @@ -2386,7 +2386,7 @@ static int wm8994_set_tristate(struct snd_soc_dai *codec_dai, int tristate)
else
val = 0;

return snd_soc_update_bits(codec, reg, mask, reg);
return snd_soc_update_bits(codec, reg, mask, val);
}

#define WM8994_RATES SNDRV_PCM_RATE_8000_96000
Expand Down
2 changes: 1 addition & 1 deletion sound/soc/codecs/wm8995.c
Original file line number Diff line number Diff line change
Expand Up @@ -1265,7 +1265,7 @@ static int wm8995_set_tristate(struct snd_soc_dai *codec_dai, int tristate)
else
val = 0;

return snd_soc_update_bits(codec, reg, mask, reg);
return snd_soc_update_bits(codec, reg, mask, val);
}

/* The size in bits of the FLL divide multiplied by 10
Expand Down

0 comments on commit e66ef2f

Please sign in to comment.