diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-11-08 10:22:09 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-11-08 10:39:54 -0500 |
commit | 0469e7b98cde0579d16ce5868eccccfec1bc043e (patch) | |
tree | ee2d6f65fd0679254675740dab972c293b6e90e5 /sound/soc/codecs/wm8962.c | |
parent | 620c36ae661354aff4f1213b8eda6e181a39fb1e (diff) |
ASoC: Disable debounce on some WM8962 interrupts
Allow them to work when the device is unclocked.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm8962.c')
-rw-r--r-- | sound/soc/codecs/wm8962.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8962.c b/sound/soc/codecs/wm8962.c index 6d82b35a70d0..2ae04ba4ab60 100644 --- a/sound/soc/codecs/wm8962.c +++ b/sound/soc/codecs/wm8962.c | |||
@@ -4038,6 +4038,12 @@ static int wm8962_probe(struct snd_soc_codec *codec) | |||
4038 | /* Stereo control for EQ */ | 4038 | /* Stereo control for EQ */ |
4039 | snd_soc_update_bits(codec, WM8962_EQ1, WM8962_EQ_SHARED_COEFF, 0); | 4039 | snd_soc_update_bits(codec, WM8962_EQ1, WM8962_EQ_SHARED_COEFF, 0); |
4040 | 4040 | ||
4041 | /* Don't debouce interrupts so we don't need SYSCLK */ | ||
4042 | snd_soc_update_bits(codec, WM8962_IRQ_DEBOUNCE, | ||
4043 | WM8962_FLL_LOCK_DB | WM8962_PLL3_LOCK_DB | | ||
4044 | WM8962_PLL2_LOCK_DB | WM8962_TEMP_SHUT_DB, | ||
4045 | 0); | ||
4046 | |||
4041 | wm8962_add_widgets(codec); | 4047 | wm8962_add_widgets(codec); |
4042 | 4048 | ||
4043 | /* Save boards having to disable DMIC when not in use */ | 4049 | /* Save boards having to disable DMIC when not in use */ |