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)
committerJiri Slaby <jslaby@suse.cz>
Wed, 19 Aug 2015 06:36:52 +0000 (08:36 +0200)
commit2befcb5c76aa4914bfbc991a180f79e5e073147f
tree2fa3c51325db2ce57831cad811716cc54b531a05
parent6578b22cd80381c9fbab152e1ababd8bfce8b5d0
ASoC: pcm1681: Fix setting de-emphasis sampling rate selection

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: Jiri Slaby <jslaby@suse.cz>
sound/soc/codecs/pcm1681.c