aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2015-07-24 16:18:18 +0100
committerMark Brown <broonie@kernel.org>2015-07-24 16:18:18 +0100
commit66874cc145cbbea3a236e30b15c8f8378708aa31 (patch)
treed096d87429808830143787b88ca02e7cd6473235 /sound
parentMerge remote-tracking branch 'asoc/fix/dapm' into asoc-linus (diff)
parentASoC: pcm1681: Fix setting de-emphasis sampling rate selection (diff)
downloadlinux-dev-66874cc145cbbea3a236e30b15c8f8378708aa31.tar.xz
linux-dev-66874cc145cbbea3a236e30b15c8f8378708aa31.zip
Merge remote-tracking branch 'asoc/fix/pcm1681' into asoc-linus
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/pcm1681.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/pcm1681.c b/sound/soc/codecs/pcm1681.c
index 477e13d30971..e7ba557979cb 100644
--- a/sound/soc/codecs/pcm1681.c
+++ b/sound/soc/codecs/pcm1681.c
@@ -102,7 +102,7 @@ static int pcm1681_set_deemph(struct snd_soc_codec *codec)
if (val != -1) {
regmap_update_bits(priv->regmap, PCM1681_DEEMPH_CONTROL,
- PCM1681_DEEMPH_RATE_MASK, val);
+ PCM1681_DEEMPH_RATE_MASK, val << 3);
enable = 1;
} else
enable = 0;