Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: Don't go through cache when applying WM5100 rev A updates

These are all to either uncached registers or fixes to register defaults,
in the former case the cache won't do anything and in the latter case
we're fixing things so the cache sync will do the right thing.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@kernel.org

+2
+2
sound/soc/codecs/wm5100.c
··· 1377 1377 1378 1378 switch (wm5100->rev) { 1379 1379 case 0: 1380 + regcache_cache_bypass(wm5100->regmap, true); 1380 1381 snd_soc_write(codec, 0x11, 0x3); 1381 1382 snd_soc_write(codec, 0x203, 0xc); 1382 1383 snd_soc_write(codec, 0x206, 0); ··· 1393 1392 snd_soc_write(codec, 1394 1393 wm5100_reva_patches[i].reg, 1395 1394 wm5100_reva_patches[i].val); 1395 + regcache_cache_bypass(wm5100->regmap, false); 1396 1396 break; 1397 1397 default: 1398 1398 break;