diff options
| author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-01-22 03:26:06 -0500 |
|---|---|---|
| committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-01-22 03:26:06 -0500 |
| commit | bc04c93bbc6ddfce4486d0fcb66e2f49957110ce (patch) | |
| tree | 66006ab3aa6e3e6ce883a77fa28ea719a46f45e4 | |
| parent | a4cdbec758d2491a86ba94263b847768fa004fde (diff) | |
| parent | b59e0f82aa350e380142353fbd30706092ba6312 (diff) | |
Merge remote-tracking branch 'asoc/fix/arizona' into tmp
| -rw-r--r-- | sound/soc/codecs/arizona.c | 5 | ||||
| -rw-r--r-- | sound/soc/codecs/wm5102.c | 3 | ||||
| -rw-r--r-- | sound/soc/codecs/wm5110.c | 3 |
3 files changed, 6 insertions, 5 deletions
diff --git a/sound/soc/codecs/arizona.c b/sound/soc/codecs/arizona.c index 1d8bb5917594..ef62c435848e 100644 --- a/sound/soc/codecs/arizona.c +++ b/sound/soc/codecs/arizona.c | |||
| @@ -685,7 +685,7 @@ static int arizona_hw_params(struct snd_pcm_substream *substream, | |||
| 685 | } | 685 | } |
| 686 | sr_val = i; | 686 | sr_val = i; |
| 687 | 687 | ||
| 688 | lrclk = snd_soc_params_to_bclk(params) / params_rate(params); | 688 | lrclk = rates[bclk] / params_rate(params); |
| 689 | 689 | ||
| 690 | arizona_aif_dbg(dai, "BCLK %dHz LRCLK %dHz\n", | 690 | arizona_aif_dbg(dai, "BCLK %dHz LRCLK %dHz\n", |
| 691 | rates[bclk], rates[bclk] / lrclk); | 691 | rates[bclk], rates[bclk] / lrclk); |
| @@ -1082,6 +1082,9 @@ int arizona_init_fll(struct arizona *arizona, int id, int base, int lock_irq, | |||
| 1082 | id, ret); | 1082 | id, ret); |
| 1083 | } | 1083 | } |
| 1084 | 1084 | ||
| 1085 | regmap_update_bits(arizona->regmap, fll->base + 1, | ||
| 1086 | ARIZONA_FLL1_FREERUN, 0); | ||
| 1087 | |||
| 1085 | return 0; | 1088 | return 0; |
| 1086 | } | 1089 | } |
| 1087 | EXPORT_SYMBOL_GPL(arizona_init_fll); | 1090 | EXPORT_SYMBOL_GPL(arizona_init_fll); |
diff --git a/sound/soc/codecs/wm5102.c b/sound/soc/codecs/wm5102.c index 7a9048dad1cd..1440b3f9b7bb 100644 --- a/sound/soc/codecs/wm5102.c +++ b/sound/soc/codecs/wm5102.c | |||
| @@ -896,8 +896,7 @@ static const unsigned int wm5102_aec_loopback_values[] = { | |||
| 896 | 896 | ||
| 897 | static const struct soc_enum wm5102_aec_loopback = | 897 | static const struct soc_enum wm5102_aec_loopback = |
| 898 | SOC_VALUE_ENUM_SINGLE(ARIZONA_DAC_AEC_CONTROL_1, | 898 | SOC_VALUE_ENUM_SINGLE(ARIZONA_DAC_AEC_CONTROL_1, |
| 899 | ARIZONA_AEC_LOOPBACK_SRC_SHIFT, | 899 | ARIZONA_AEC_LOOPBACK_SRC_SHIFT, 0xf, |
| 900 | ARIZONA_AEC_LOOPBACK_SRC_MASK, | ||
| 901 | ARRAY_SIZE(wm5102_aec_loopback_texts), | 900 | ARRAY_SIZE(wm5102_aec_loopback_texts), |
| 902 | wm5102_aec_loopback_texts, | 901 | wm5102_aec_loopback_texts, |
| 903 | wm5102_aec_loopback_values); | 902 | wm5102_aec_loopback_values); |
diff --git a/sound/soc/codecs/wm5110.c b/sound/soc/codecs/wm5110.c index ae80c8c28536..7a090968c4f7 100644 --- a/sound/soc/codecs/wm5110.c +++ b/sound/soc/codecs/wm5110.c | |||
| @@ -344,8 +344,7 @@ static const unsigned int wm5110_aec_loopback_values[] = { | |||
| 344 | 344 | ||
| 345 | static const struct soc_enum wm5110_aec_loopback = | 345 | static const struct soc_enum wm5110_aec_loopback = |
| 346 | SOC_VALUE_ENUM_SINGLE(ARIZONA_DAC_AEC_CONTROL_1, | 346 | SOC_VALUE_ENUM_SINGLE(ARIZONA_DAC_AEC_CONTROL_1, |
| 347 | ARIZONA_AEC_LOOPBACK_SRC_SHIFT, | 347 | ARIZONA_AEC_LOOPBACK_SRC_SHIFT, 0xf, |
| 348 | ARIZONA_AEC_LOOPBACK_SRC_MASK, | ||
| 349 | ARRAY_SIZE(wm5110_aec_loopback_texts), | 348 | ARRAY_SIZE(wm5110_aec_loopback_texts), |
| 350 | wm5110_aec_loopback_texts, | 349 | wm5110_aec_loopback_texts, |
| 351 | wm5110_aec_loopback_values); | 350 | wm5110_aec_loopback_values); |
