Skip to contentSkip to conversation

ASoC: Disable debounce on some WM8962 interrupts

PATCH New Mark Brown 1 participant 1 message Nov 8, 2011

Subsystems (3)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 ASoC: Disable debounce on some WM8962 interrupts

Allow them to work when the device is unclocked.

---
 sound/soc/codecs/wm8962.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
sound/soc/codecs/wm8962.c +6 -0
index aa310a2..5d1704d 100644
@@ -4059,6 +4059,12 @@ static int wm8962_probe(struct snd_soc_codec *codec)
 	/* Stereo control for EQ */
 	snd_soc_update_bits(codec, WM8962_EQ1, WM8962_EQ_SHARED_COEFF, 0);
 
+	/* Don't debouce interrupts so we don't need SYSCLK */
+	snd_soc_update_bits(codec, WM8962_IRQ_DEBOUNCE,
+			    WM8962_FLL_LOCK_DB | WM8962_PLL3_LOCK_DB |
+			    WM8962_PLL2_LOCK_DB | WM8962_TEMP_SHUT_DB,
+			    0);
+
 	wm8962_add_widgets(codec);
 
 	/* Save boards having to disable DMIC when not in use */
Signature · 1 line
1.7.7.1