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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Aug 2015 03:52:18 +0000 (20:52 -0700)
commite52e67a7832367967b3a1b363eb2f90c4f5e153a
tree52d4e423fd1794ad613aea1e3ed0ac658c6366a1
parentb0e4d399f6c4d463250cd28c0be6cccf4c7127d5
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/codecs/pcm1681.c