ASoC: pcm512x: Implement paging support
authorMark Brown <broonie@linaro.org>
Fri, 7 Feb 2014 19:08:11 +0000 (19:08 +0000)
committerMark Brown <broonie@linaro.org>
Fri, 7 Feb 2014 19:53:53 +0000 (19:53 +0000)
commit806d6466076a0aebbe0a9c17294d1a13e93fabcf
tree0cb9556e59d1d9fdeac55b3733dc53ceaf5e26f4
parent06d0ffcc5c12ad49786141fa9768da38485a8a61
ASoC: pcm512x: Implement paging support

The PCM512x devices use a paged register map covering the entire register
range. Implement support for this, mapping pages in at addresses starting
at 0x100 for ease of use (though since the pages are numbered from 0 there
is going to be an off by one when looking at the first byte as a page
number).

Also mark the new registers as accessible with the exception of the
coefficient RAM which is a bit fiddly and may benefit from some extra
handling to linearise the blocks.

Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/pcm512x.c
sound/soc/codecs/pcm512x.h
This page took 0.024901 seconds and 5 git commands to generate.