OSDN Git Service

ASoC: pcm1681: Fix setting de-emphasis sampling rate selection
authorAxel Lin <axel.lin@ingics.com>
Thu, 23 Jul 2015 15:22:26 +0000 (23:22 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 24 Jul 2015 10:34:58 +0000 (11:34 +0100)
commitfa8173a3ef0570affde7da352de202190b3786c2
treecc5d47cbfeee495762f974cd9b9ac491c2c45f4a
parentbc0195aad0daa2ad5b0d76cce22b167bc3435590
ASoC: pcm1681: Fix setting de-emphasis sampling rate selection

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>
Cc: stable@vger.kernel.org
sound/soc/codecs/pcm1681.c