1. 27 4月, 2010 4 次提交
  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. 05 1月, 2010 1 次提交
  4. 17 12月, 2009 1 次提交
  5. 13 11月, 2009 1 次提交
  6. 04 11月, 2009 1 次提交
  7. 26 8月, 2009 1 次提交
  8. 21 8月, 2009 1 次提交
  9. 23 7月, 2009 1 次提交
    • C
      ASoC: tlv320aic3x: Enable PLL when not bypassed · 06c71282
      Chaithrika U S 提交于
      PLL was not being enabled when it was not bypassed. This patch
      enables the PLL when it is used. Additionally, it disables the PLL
      when it is bypassed.
      
      Without this patch, the audio on TI DM646x EVM and DM355 EVM
      does not work properly. The bit clocks and the frame sync signals
      from the codec are not correct and hence the playback/record are faster
      than usual for most sample rates. The reason for this was that the PLL
      was not enabled when it was not bypassed.
      
      Tested on DM6467 EVM, playback tested on DM355 EVM.
      Signed-off-by: NChaithrika U S <chaithrika@ti.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      06c71282
  10. 06 7月, 2009 1 次提交
  11. 05 3月, 2009 1 次提交
  12. 10 2月, 2009 2 次提交
  13. 06 2月, 2009 1 次提交
  14. 27 1月, 2009 1 次提交
  15. 09 1月, 2009 1 次提交
  16. 20 12月, 2008 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. 06 12月, 2008 1 次提交
  20. 03 12月, 2008 1 次提交
  21. 02 12月, 2008 1 次提交
  22. 27 11月, 2008 1 次提交
    • D
      ASoC: Allow more routing features for tlv320aic3x · 54f01916
      Daniel Mack 提交于
      This patch enables more routing functions for tlv320aic3x codecs.
      It is now possible to
      
       - control the volume of the PGA bypass path for the HPL, HPR, HPLCOM
         and HPRCOM outputs individually
       - route right line1 input to the left ADC channel
       - route left line1 input to the right ADC channel
       - route right mic3 input to left DAC channel
       - route left mic3 input to right DAC channel
       - route left line1 input to right line1 output
       - route right line1 input to left line1 output
      Signed-off-by: NDaniel Mack <daniel@caiaq.de>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      54f01916
  23. 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
  24. 23 10月, 2008 1 次提交
  25. 13 10月, 2008 2 次提交
  26. 10 10月, 2008 1 次提交
  27. 23 9月, 2008 1 次提交
  28. 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
  29. 10 7月, 2008 3 次提交
  30. 26 6月, 2008 3 次提交
  31. 13 6月, 2008 1 次提交