• Mark Brown's avatar
    ASoC: Begin to factor out register cache I/O functions · 17a52fd6
    Mark Brown authored
    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>
    17a52fd6
Makefile 489 Bytes