stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Patch "ASoC: pcm1681: Fix setting de-emphasis sampling rate selection" has been added to the 3.14-stable tree
@ 2015-08-13 23:31 gregkh
  0 siblings, 0 replies; only message in thread
From: gregkh @ 2015-08-13 23:31 UTC (permalink / raw)
  To: axel.lin, broonie, gregkh, marek.belisko; +Cc: stable, stable-commits


This is a note to let you know that I've just added the patch titled

    ASoC: pcm1681: Fix setting de-emphasis sampling rate selection

to the 3.14-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     asoc-pcm1681-fix-setting-de-emphasis-sampling-rate-selection.patch
and it can be found in the queue-3.14 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@vger.kernel.org> know about it.


>From fa8173a3ef0570affde7da352de202190b3786c2 Mon Sep 17 00:00:00 2001
From: Axel Lin <axel.lin@ingics.com>
Date: Thu, 23 Jul 2015 23:22:26 +0800
Subject: ASoC: pcm1681: Fix setting de-emphasis sampling rate selection

From: Axel Lin <axel.lin@ingics.com>

commit fa8173a3ef0570affde7da352de202190b3786c2 upstream.

The de-emphasis sampling rate selection is controlled by BIT[3:4] of
PCM1681_DEEMPH_CONTROL register. Do proper left shift to set it.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Marek Belisko <marek.belisko@streamunlimited.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 sound/soc/codecs/pcm1681.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/sound/soc/codecs/pcm1681.c
+++ b/sound/soc/codecs/pcm1681.c
@@ -102,7 +102,7 @@ static int pcm1681_set_deemph(struct snd
 
 	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;


Patches currently in stable-queue which might be from axel.lin@ingics.com are

queue-3.14/asoc-pcm1681-fix-setting-de-emphasis-sampling-rate-selection.patch

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-08-13 23:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-13 23:31 Patch "ASoC: pcm1681: Fix setting de-emphasis sampling rate selection" has been added to the 3.14-stable tree gregkh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).