Skip to content
Commit 17a52fd6 authored by Mark Brown's avatar Mark Brown
Browse files

ASoC: Begin to factor out register cache I/O functions



A lot of CODECs share the same register data formats and therefore
replicate the code to manage access to and caching of the register
map. In order to reduce code duplication centralised versions of
this code will be introduced with drivers able to configure the use
of the common code by calling the new snd_soc_codec_set_cache_io()
API call during startup.

As an initial user the 7 bit address/9 bit data format used by many
Wolfson devices is supported for write only CODECs and the drivers
with straightforward register cache implementations are converted to
use it.

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 5420f307
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment