diff options
author | Charles Keepax <ckeepax@opensource.wolfsonmicro.com> | 2014-09-01 15:48:52 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-09-26 08:15:52 +0100 |
commit | c24084db223aec7793201b94f0712cfdfa7e9fe7 (patch) | |
tree | c310a08ea10c8923acb2b7e9b2c5942e7cb0926b /sound/soc/codecs/arizona.c | |
parent | 9bb9e29c78f8d8ee310987fd58a2b908a4ce0c40 (diff) | |
download | linux-c24084db223aec7793201b94f0712cfdfa7e9fe7.tar.gz linux-c24084db223aec7793201b94f0712cfdfa7e9fe7.tar.bz2 linux-c24084db223aec7793201b94f0712cfdfa7e9fe7.zip |
mfd: arizona: Add ASYNC_SAMPLE_RATE_2 registers
Some arizona devices have a second asynchronous sample rate, add the
registers necessary to support this.
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Acked-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'sound/soc/codecs/arizona.c')
-rw-r--r-- | sound/soc/codecs/arizona.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/arizona.c b/sound/soc/codecs/arizona.c index 2c71f16bd661..0c05e7a7945f 100644 --- a/sound/soc/codecs/arizona.c +++ b/sound/soc/codecs/arizona.c @@ -1220,7 +1220,7 @@ static int arizona_hw_params_rate(struct snd_pcm_substream *substream, break; case ARIZONA_CLK_ASYNCCLK: snd_soc_update_bits(codec, ARIZONA_ASYNC_SAMPLE_RATE_1, - ARIZONA_ASYNC_SAMPLE_RATE_MASK, sr_val); + ARIZONA_ASYNC_SAMPLE_RATE_1_MASK, sr_val); if (base) snd_soc_update_bits(codec, base + ARIZONA_AIF_RATE_CTRL, ARIZONA_AIF1_RATE_MASK, |