ASoC: arizona: Do proper shift for setting AIF rate
authorAxel Lin <axel.lin@ingics.com>
Thu, 20 Dec 2012 15:29:42 +0000 (23:29 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 24 Dec 2012 15:41:44 +0000 (15:41 +0000)
commit7110a287ff2b1f3780905d1686a1a4edccb95133
tree01649c3833f1133056562443b3293d87fd68feea
parenta49f0d1ea3ec94fc7cf33a7c36a16343b74bd565
ASoC: arizona: Do proper shift for setting AIF rate

ARIZONA_AIF1_RATE_MASK is 0x7800 /* AIF1_RATE - [14:11] */
Thus we need left shift ARIZONA_AIF1_RATE_SHIFT when setting aif1 rate.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@vger.kernel.org
sound/soc/codecs/arizona.c