]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: cs42l56: Make ID registers volatile and remove cache bypass
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Tue, 25 Oct 2016 15:42:30 +0000 (16:42 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 25 Oct 2016 19:13:49 +0000 (20:13 +0100)
commit2ca8bef84165944d84118d0c2541d86657b5b9b9
tree5e3f83dfe405de34773c78da828964fab9c474ef
parenta245803230f587f66ceddc152f3504b2a960aac2
ASoC: cs42l56: Make ID registers volatile and remove cache bypass

Rather than manually enabling cache bypass when reading the ID registers
simply remove the default which will cause the first read to go to the
hardware. The old code worked this is simply the more standard way to
implement this.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Acked-by: Brian Austin <brian.austin@cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs42l56.c