1. 06 9月, 2009 1 次提交
  2. 03 8月, 2009 2 次提交
  3. 09 7月, 2009 1 次提交
  4. 06 7月, 2009 1 次提交
    • M
      ASoC: Begin to factor out register cache I/O functions · 17a52fd6
      Mark Brown 提交于
      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: NMark Brown <broonie@opensource.wolfsonmicro.com>
      17a52fd6
  5. 28 5月, 2009 1 次提交
  6. 05 3月, 2009 1 次提交
  7. 04 3月, 2009 1 次提交
  8. 27 1月, 2009 1 次提交
  9. 09 1月, 2009 1 次提交
  10. 10 12月, 2008 1 次提交
  11. 09 12月, 2008 1 次提交
    • M
      ASoC: Register non-AC97 codec DAIs · 64089b84
      Mark Brown 提交于
      Currently this is done at module probe time since ASoC ties in codec
      device probe to the instantiation of the entire ASoC device. Subsequent
      patches will refactor the codec drivers to handle probing separately.
      Note that the core does not yet use this information.
      
      AC97 is special since the codec is controlled over the AC97 link but
      we want to give the machine driver a chance to set up the system before
      trying to instantiate since it may need to do configuration before the
      AC97 link will operate
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      64089b84
  12. 02 12月, 2008 1 次提交
  13. 21 11月, 2008 1 次提交
    • M
      ASoC: Merge snd_soc_ops into snd_soc_dai_ops · dee89c4d
      Mark Brown 提交于
      Liam Girdwood's ASoC v2 work avoids having two different ops structures
      for DAIs by merging the members of struct snd_soc_ops into struct
      snd_soc_dai_ops, allowing per DAI configuration for everything.
      Backport this change.
      
      This paves the way for future work allowing any combination of DAIs to
      be connected rather than having fixed purpose CODEC and CPU DAIs and
      only allowing CODEC<->CPU interconnections.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      dee89c4d
  14. 13 10月, 2008 5 次提交
  15. 10 10月, 2008 1 次提交
  16. 09 9月, 2008 1 次提交
  17. 25 8月, 2008 1 次提交
    • J
      ALSA: ASoC: Fix double free and memory leak in many codec drivers · 3051e41a
      Jean Delvare 提交于
      Many SoC audio codec drivers have improper freeing of memory in error
      paths.
      
      * codec is allocated in the platform device probe function, but is not
        freed there in case of error. Instead it is freed in the i2c device
        probe function's error path. However the success or failure of both
        functions is not linked, so this could result in a double free (if
        the platform device is successfully probed, the i2c device probing
        fails and then the platform driver is unregistered.)
      
      * codec->private_data is allocated in many platform device probe
        functions but not freed in their error paths.
      
      This patch hopefully solves all these problems.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      3051e41a
  18. 10 7月, 2008 1 次提交
  19. 26 6月, 2008 1 次提交
  20. 13 6月, 2008 1 次提交
  21. 06 6月, 2008 1 次提交