diff options
author | Andreas Dannenberg | 2018-11-15 18:01:31 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2018-12-05 19:32:12 +0100 |
commit | b16c2b78f13c26fde9b7460883f0722bb40e133c (patch) | |
tree | e508e20a4faa1734b775a84990b91e7d9d59fa82 /sound/soc | |
parent | ASoC: intel: cht_bsw_max98090_ti: Add quirk for boards using pmc_plt_clk_0 (diff) | |
download | kernel-qcow2-linux-b16c2b78f13c26fde9b7460883f0722bb40e133c.tar.gz kernel-qcow2-linux-b16c2b78f13c26fde9b7460883f0722bb40e133c.tar.xz kernel-qcow2-linux-b16c2b78f13c26fde9b7460883f0722bb40e133c.zip |
ASoC: pcm186x: Fix device reset-registers trigger value
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@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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/codecs/pcm186x.h | 2 |
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) |