summary refs log tree commit diff
path: root/sound
diff options
context:
space:
mode:
authorAndreas Dannenberg <dannenberg@ti.com>2018-11-15 11:01:31 -0600
committerMark Brown <broonie@kernel.org>2018-11-15 11:23:48 -0800
commit5277715639ff6f75c729e657690751a831112c4b (patch)
treea5638048dff20bd29316719023f02e1e5466174b /sound
parent882eab6c28d23a970ae73b7eb831b169a672d456 (diff)
downloadlinux-5277715639ff6f75c729e657690751a831112c4b.tar.gz
ASoC: pcm186x: Fix device reset-registers trigger value
According to the current device datasheet (TI Lit # SLAS831D, revised
March 2018) the value written to the device's PAGE register to trigger
a complete register reset should be 0xfe, not 0xff. So go ahead and
update to the correct value.

Reported-by: Stephane Le Provost <stephane.leprovost@mediatek.com>
Tested-by: Stephane Le Provost <stephane.leprovost@mediatek.com>
Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Acked-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/pcm186x.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/pcm186x.h b/sound/soc/codecs/pcm186x.h
index 2c6ba55bf394..bb3f0c42a1cd 100644
--- a/sound/soc/codecs/pcm186x.h
+++ b/sound/soc/codecs/pcm186x.h
@@ -139,7 +139,7 @@ enum pcm186x_type {
 #define PCM186X_MAX_REGISTER		PCM186X_CURR_TRIM_CTRL
 
 /* PCM186X_PAGE */
-#define PCM186X_RESET			0xff
+#define PCM186X_RESET			0xfe
 
 /* PCM186X_ADCX_INPUT_SEL_X */
 #define PCM186X_ADC_INPUT_SEL_POL	BIT(7)