1. 26 5月, 2010 1 次提交
  2. 17 4月, 2010 1 次提交
    • M
      ASoC: Add indirection for CODEC private data · b2c812e2
      Mark Brown 提交于
      One of the features of the multi CODEC work is that it embeds a struct
      device in the CODEC to provide diagnostics via a sysfs class rather than
      via the device tree, at which point it's much better to use the struct
      device private data rather than having two places to store it. Provide
      an accessor function to allow this change to be made more easily, and
      update all the CODEC drivers are updated.
      
      To ensure use of the accessor the private data structure member is
      renamed, meaning that if code developed with older an older core that
      still uses private_data is merged it will fail to build.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Acked-by: NLiam Girdwood <lrg@slimlogic.co.uk>
      b2c812e2
  3. 09 2月, 2010 1 次提交
  4. 31 12月, 2009 1 次提交
  5. 13 11月, 2009 1 次提交
  6. 04 11月, 2009 1 次提交
  7. 06 9月, 2009 1 次提交
  8. 03 8月, 2009 1 次提交
  9. 28 5月, 2009 1 次提交
  10. 05 5月, 2009 1 次提交
  11. 05 3月, 2009 1 次提交
  12. 06 2月, 2009 1 次提交
  13. 03 2月, 2009 1 次提交
  14. 27 1月, 2009 1 次提交
  15. 20 1月, 2009 1 次提交
  16. 09 1月, 2009 1 次提交
  17. 10 12月, 2008 1 次提交
  18. 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
  19. 02 12月, 2008 1 次提交
  20. 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
  21. 18 11月, 2008 3 次提交
  22. 13 10月, 2008 1 次提交
  23. 04 9月, 2008 2 次提交
  24. 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
  25. 15 8月, 2008 2 次提交
  26. 10 7月, 2008 1 次提交
  27. 26 6月, 2008 1 次提交
  28. 06 6月, 2008 1 次提交