diff options
author | Mark Brown <broonie@kernel.org> | 2023-07-31 00:38:02 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-07-31 00:38:02 +0200 |
commit | 2cddb06cb020f02a69e4e065599c1e5aa8b4a5d1 (patch) | |
tree | 411945066af7d953de11184b79b6acf0162964a6 /sound/soc/codecs/wm8904.c | |
parent | ASoC: fsl_micfil: refactor deprecated strncpy (diff) | |
parent | Linux 6.5-rc4 (diff) | |
download | linux-2cddb06cb020f02a69e4e065599c1e5aa8b4a5d1.tar.xz linux-2cddb06cb020f02a69e4e065599c1e5aa8b4a5d1.zip |
ASoC: Merge up fixes from Linus' tree
Gets us pine64plus back if nothing else.
Diffstat (limited to 'sound/soc/codecs/wm8904.c')
-rw-r--r-- | sound/soc/codecs/wm8904.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8904.c b/sound/soc/codecs/wm8904.c index ac4e1654a967..60319b468fb2 100644 --- a/sound/soc/codecs/wm8904.c +++ b/sound/soc/codecs/wm8904.c @@ -2308,6 +2308,9 @@ static int wm8904_i2c_probe(struct i2c_client *i2c) regmap_update_bits(wm8904->regmap, WM8904_BIAS_CONTROL_0, WM8904_POBCTRL, 0); + /* Fill the cache for the ADC test register */ + regmap_read(wm8904->regmap, WM8904_ADC_TEST_0, &val); + /* Can leave the device powered off until we need it */ regcache_cache_only(wm8904->regmap, true); regulator_bulk_disable(ARRAY_SIZE(wm8904->supplies), wm8904->supplies); |