diff options
author | Charles Keepax <ckeepax@opensource.wolfsonmicro.com> | 2013-12-19 04:30:13 -0500 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-12-19 05:20:31 -0500 |
commit | 56d37d85438df38e150282baafe52dcd588854c7 (patch) | |
tree | 2de30eea34b1e19e5aea4db1b013fbe3cabd2812 /sound/soc/codecs/arizona.c | |
parent | fbedc8cbc3c40281cf52ed0e2e5998dea98e2992 (diff) |
ASoC: wm5110: Add support for ASRC RATE 1
Add support for configuring the sample rate on the SYSCLK side of the
ASRC.
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/codecs/arizona.c')
-rw-r--r-- | sound/soc/codecs/arizona.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/soc/codecs/arizona.c b/sound/soc/codecs/arizona.c index 56d3ff570ad4..e4295fee8f13 100644 --- a/sound/soc/codecs/arizona.c +++ b/sound/soc/codecs/arizona.c | |||
@@ -530,6 +530,13 @@ const struct soc_enum arizona_isrc_fsl[] = { | |||
530 | }; | 530 | }; |
531 | EXPORT_SYMBOL_GPL(arizona_isrc_fsl); | 531 | EXPORT_SYMBOL_GPL(arizona_isrc_fsl); |
532 | 532 | ||
533 | const struct soc_enum arizona_asrc_rate1 = | ||
534 | SOC_VALUE_ENUM_SINGLE(ARIZONA_ASRC_RATE1, | ||
535 | ARIZONA_ASRC_RATE1_SHIFT, 0xf, | ||
536 | ARIZONA_RATE_ENUM_SIZE - 1, | ||
537 | arizona_rate_text, arizona_rate_val); | ||
538 | EXPORT_SYMBOL_GPL(arizona_asrc_rate1); | ||
539 | |||
533 | static const char *arizona_vol_ramp_text[] = { | 540 | static const char *arizona_vol_ramp_text[] = { |
534 | "0ms/6dB", "0.5ms/6dB", "1ms/6dB", "2ms/6dB", "4ms/6dB", "8ms/6dB", | 541 | "0ms/6dB", "0.5ms/6dB", "1ms/6dB", "2ms/6dB", "4ms/6dB", "8ms/6dB", |
535 | "15ms/6dB", "30ms/6dB", | 542 | "15ms/6dB", "30ms/6dB", |