1. 22 8月, 2009 1 次提交
    • M
      ASoC: Add DAPM widget power decision debugfs files · 79fb9387
      Mark Brown 提交于
      Currently when built with DEBUG DAPM will dump information about
      the power state decisions it is taking for each widget to dmesg.
      This isn't an ideal way of getting the information - it requires
      a kernel build to turn it on and off and for large hub CODECs the
      volume of information is so large as to be illegible. When the
      output goes to the console it can also cause a noticable impact
      on performance simply to print it out.
      
      Improve the situation by adding a dapm directory to our debugfs
      tree containing a file per widget with the same information in
      it. This still requires a decision to build with debugfs support
      but is easier to navigate and much less intrusive.
      
      In addition to the previously displayed information active streams
      are also shown in these files.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      79fb9387
  2. 06 8月, 2009 1 次提交
  3. 01 8月, 2009 1 次提交
  4. 23 7月, 2009 1 次提交
  5. 05 7月, 2009 1 次提交
  6. 01 7月, 2009 1 次提交
  7. 24 6月, 2009 1 次提交
  8. 14 6月, 2009 2 次提交
    • M
      ASoC: Instantiate any forgotten DAPM widgets · 6d5701b2
      Mark Brown 提交于
      With the recent changes to the DAPM power checks it has become important
      to explicitly instantiate all widgets but some drivers were forgetting
      to do that.  Since everything needs to do it add a call to instantiate
      them immediately before the card registration - it does no harm when it
      is called repeatedly and saves work in drivers.
      Tested-by: NpHilipp Zabel <philipp.zabel@gmail.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      6d5701b2
    • M
      ASoC: Add stub suspend and resume calls for ASoC subdevices · 831dc0f1
      Mark Brown 提交于
      Now that ASoC subdevices can be regular devices they can have normal
      suspend and resume calls from their buses.  However, suspending them
      individually is not desirable since this can lead to problems such as
      pops and clicks from devices being suspended with their signals being
      amplified or clocks being stopped suddenly.
      
      This will be resolved by having the normal device model suspend and
      resume calls call into ASoC which will suspend the entire card while any
      of its components are suspended.  At present this is not yet implemented
      but in order to aid the transition of drivers to the standard device
      model this patch adds API calls for the notifications.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      831dc0f1
  9. 08 6月, 2009 1 次提交
  10. 04 6月, 2009 1 次提交
  11. 18 5月, 2009 1 次提交
  12. 12 5月, 2009 1 次提交
  13. 09 5月, 2009 1 次提交
    • M
      ASoC: Fix up CODEC DAI formats for big endian CPUs · 151ab22c
      Mark Brown 提交于
      ASoC uses the standard ALSA data format definitions to specify the wire
      format used between the CPU and CODEC. Since the ALSA data formats all
      include the endianess of the data but this information is not relevant
      by the time the data has been encoded onto the serial link to the CODEC
      this means that either all the CODEC drivers need to declare both big and
      little endian variants or the core needs to fix up the format constraints
      specified by CODEC drivers.
      
      For now take the latter approach - this will need to be revisited if any
      CODECs are endianness dependant.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      151ab22c
  14. 16 4月, 2009 2 次提交
  15. 08 4月, 2009 1 次提交
    • M
      ASoC: Provide core support for symmetric sample rates · 06f409d7
      Mark Brown 提交于
      Many devices require symmetric configurations of capture and playback
      data formats, often due to shared clocking but sometimes also due to
      other shared playback and record configuration in the device. Start
      providing core support for this by allowing the DAIs or the machine
      to specify that the sample rates used should be kept symmetric.
      
      A flag symmetric_rates is provided in the snd_soc_dai and
      snd_soc_dai_link structures. If this is set in either of the DAIs or in
      the machine then a constraint will be applied when a stream is already
      open preventing any changes in sample rate.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      06f409d7
  16. 02 4月, 2009 2 次提交
  17. 17 3月, 2009 1 次提交
  18. 05 3月, 2009 1 次提交
  19. 13 2月, 2009 1 次提交
  20. 27 1月, 2009 1 次提交
  21. 12 1月, 2009 1 次提交
  22. 09 1月, 2009 1 次提交
  23. 08 1月, 2009 1 次提交
  24. 06 1月, 2009 1 次提交
  25. 01 1月, 2009 1 次提交
  26. 10 12月, 2008 2 次提交
  27. 09 12月, 2008 5 次提交
  28. 04 12月, 2008 3 次提交
  29. 03 12月, 2008 1 次提交
  30. 02 12月, 2008 1 次提交