[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20181204103655.603936088@linuxfoundation.org>
Date: Tue, 4 Dec 2018 11:50:01 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-kernel@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
stable@...r.kernel.org,
Stephane Le Provost <stephane.leprovost@...iatek.com>,
Andreas Dannenberg <dannenberg@...com>,
"Andrew F. Davis" <afd@...com>, Mark Brown <broonie@...nel.org>
Subject: [PATCH 4.19 120/139] ASoC: pcm186x: Fix device reset-registers trigger value
4.19-stable review patch. If anyone has any objections, please let me know.
------------------
From: Andreas Dannenberg <dannenberg@...com>
commit 5277715639ff6f75c729e657690751a831112c4b upstream.
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@...iatek.com>
Tested-by: Stephane Le Provost <stephane.leprovost@...iatek.com>
Signed-off-by: Andreas Dannenberg <dannenberg@...com>
Acked-by: Andrew F. Davis <afd@...com>
Signed-off-by: Mark Brown <broonie@...nel.org>
Cc: stable@...r.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
---
sound/soc/codecs/pcm186x.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- 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)
Powered by blists - more mailing lists