]>
Commit | Line | Data |
---|---|---|
91d67d0f GKH |
1 | From 5277715639ff6f75c729e657690751a831112c4b Mon Sep 17 00:00:00 2001 |
2 | From: Andreas Dannenberg <dannenberg@ti.com> | |
3 | Date: Thu, 15 Nov 2018 11:01:31 -0600 | |
4 | Subject: ASoC: pcm186x: Fix device reset-registers trigger value | |
5 | ||
6 | From: Andreas Dannenberg <dannenberg@ti.com> | |
7 | ||
8 | commit 5277715639ff6f75c729e657690751a831112c4b upstream. | |
9 | ||
10 | According to the current device datasheet (TI Lit # SLAS831D, revised | |
11 | March 2018) the value written to the device's PAGE register to trigger | |
12 | a complete register reset should be 0xfe, not 0xff. So go ahead and | |
13 | update to the correct value. | |
14 | ||
15 | Reported-by: Stephane Le Provost <stephane.leprovost@mediatek.com> | |
16 | Tested-by: Stephane Le Provost <stephane.leprovost@mediatek.com> | |
17 | Signed-off-by: Andreas Dannenberg <dannenberg@ti.com> | |
18 | Acked-by: Andrew F. Davis <afd@ti.com> | |
19 | Signed-off-by: Mark Brown <broonie@kernel.org> | |
20 | Cc: stable@vger.kernel.org | |
21 | Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> | |
22 | ||
23 | --- | |
24 | sound/soc/codecs/pcm186x.h | 2 +- | |
25 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
26 | ||
27 | --- a/sound/soc/codecs/pcm186x.h | |
28 | +++ b/sound/soc/codecs/pcm186x.h | |
29 | @@ -139,7 +139,7 @@ enum pcm186x_type { | |
30 | #define PCM186X_MAX_REGISTER PCM186X_CURR_TRIM_CTRL | |
31 | ||
32 | /* PCM186X_PAGE */ | |
33 | -#define PCM186X_RESET 0xff | |
34 | +#define PCM186X_RESET 0xfe | |
35 | ||
36 | /* PCM186X_ADCX_INPUT_SEL_X */ | |
37 | #define PCM186X_ADC_INPUT_SEL_POL BIT(7) |