05 May, 2010

1 commit


18 Mar, 2010

2 commits


06 Mar, 2010

1 commit


04 Feb, 2010

2 commits

  • Add a bit to the CODEC structure indicating if a cache sync is required.
    By default this will be set if a cache only write is done to a soc-cache
    register cache. This allows us to avoid syncing the cache back after
    using cache only writes if there were no changes.

    Signed-off-by: Mark Brown
    Acked-by: Liam Girdwood

    Mark Brown
     
  • Currently the soc-cache code will always write to the device, meaning
    that we need the device to be powered and active at pretty much all
    times the system is active. Allowing cache only writes lays some
    groundwork for future enhancements to allow devices to be put into a
    full off state when the audio subsystem is idle.

    Signed-off-by: Mark Brown
    Acked-by: Liam Girdwood

    Mark Brown
     

27 Jan, 2010

2 commits


31 Dec, 2009

1 commit


21 Sep, 2009

1 commit


07 Sep, 2009

1 commit


11 Aug, 2009

1 commit

  • Fix soc build errors when I2C is built as a loadable module:

    (.text+0x5d26b): undefined reference to `i2c_master_send'
    soc-cache.c:(.text+0x5d32d): undefined reference to `i2c_transfer'

    Signed-off-by: Randy Dunlap
    Signed-off-by: Mark Brown

    Randy Dunlap
     

03 Aug, 2009

3 commits


06 Jul, 2009

1 commit

  • 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: Mark Brown

    Mark Brown