1. 27 8月, 2009 1 次提交
    • T
      ALSA: Add debug module option · 36ce99c1
      Takashi Iwai 提交于
      Add debug module option to snd core.
      This controls the debug print level.  When CONFIG_SND_DEBUG_VERBOSE
      is set, you can suppress the debug messages by giving or changing this
      parameter to a lower value.  debug=0 means no debug messsages.
      As default, it's set to the verbose level 2.
      
      Since this option can be changed dynamically via sysfs file, you can
      suppress the verbose debug messages on the fly, which wasn't possible
      before.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      36ce99c1
  2. 05 6月, 2009 1 次提交
  3. 02 6月, 2009 1 次提交
    • J
      ALSA: Core - add snd_card_set_id() function · 10a8ebbb
      Jaroslav Kysela 提交于
      Introduce snd_card_set_id() function to allow lowlevel drivers to set
      default identification name for card slot. The function checks also
      for identification name collisions and tries to create unique name.
      
      Also, the snd_card_create() function is simplified, because this new
      function is used. As bonus, proper name collision checks are evaluated
      at the card create time.
      Signed-off-by: NJaroslav Kysela <perex@perex.cz>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      10a8ebbb
  4. 29 5月, 2009 1 次提交
  5. 22 5月, 2009 2 次提交
  6. 18 5月, 2009 2 次提交
    • M
      ASoC: Integrate bias management with DAPM power management · 452c5eaa
      Mark Brown 提交于
      Rather than managing the bias level of the system based on if there is
      an active audio stream manage it based on there being an active DAPM
      widget. This simplifies the code a little, moving the power handling
      into one place, and improves audio performance for bypass paths when no
      playbacks or captures are active.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      452c5eaa
    • M
      ASoC: Split DAPM power checks from sequencing of power changes · 6d3ddc81
      Mark Brown 提交于
      DAPM has always applied any changes to the power state of widgets as soon
      as it has determined that they are required. Instead of doing this store
      all the changes that are required on lists of widgets to power up and
      down, then iterate over those lists and apply the changes. This changes
      the sequence in which changes are implemented, doing all power downs
      before power ups and always using the up/down sequences (previously they
      were only used when changes were due to DAC/ADC power events). The error
      handling is also changed so that we continue attempting to power widgets
      if some changes fail.
      
      The main benefit of this is to allow future changes to do optimisations
      over the whole power sequence and to reduce the number of walks of the
      widget graph required to check the power status of widgets.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      6d3ddc81
  7. 14 5月, 2009 1 次提交
  8. 06 5月, 2009 1 次提交
  9. 05 5月, 2009 2 次提交
  10. 02 5月, 2009 2 次提交
  11. 25 4月, 2009 1 次提交
  12. 23 4月, 2009 1 次提交
    • M
      ASoC: Add power supply widget to DAPM · 246d0a17
      Mark Brown 提交于
      Many modern CODECs have shared resources on chip which must be enabled
      for portions of the chip to work but which can be disabled at other times
      in order to achieve power savings. Examples of such resources include
      power supplies and some internal clocks.
      
      Since these widgets are dependencies for the audio path but do not carry
      audio signals they require slightly different handling to most widgets -
      they do not contribute to the audio path and so should not be counted as
      either inputs or outputs during path walks.
      
      Cases where one supply provides a supply for another will require
      additional work. There is also room for more optimisation of the graph
      walking to avoid repeated checks for the same thing.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      246d0a17
  13. 21 4月, 2009 3 次提交
  14. 15 4月, 2009 1 次提交
  15. 14 4月, 2009 1 次提交
  16. 13 4月, 2009 1 次提交
  17. 10 4月, 2009 1 次提交
  18. 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
  19. 30 3月, 2009 1 次提交
  20. 27 3月, 2009 3 次提交
  21. 18 3月, 2009 1 次提交
  22. 16 3月, 2009 1 次提交
  23. 11 3月, 2009 2 次提交
  24. 09 3月, 2009 5 次提交
  25. 05 3月, 2009 1 次提交
  26. 04 3月, 2009 1 次提交
    • L
      ASoC: Add GPIO support for jack reporting interface · ec67624d
      Lopez Cruz, Misael 提交于
      Add GPIO support to jack reporting framework in ASoC using gpiolib calls.
      The gpio support exports two new functions: snd_soc_jack_add_gpios and
      snd_soc_jack_free_gpios.
      
      Client drivers using gpio feature must pass an array of jack_gpio pins
      belonging to a specific jack to the snd_soc_jack_add_gpios function. The
      framework will request the gpios, set the data direction and request irq.
      The framework will update power status of related jack_pins when an event on
      the gpio pins comes according to the reporting bits defined for each gpio.
      
      All gpio resources allocated when adding jack_gpio pins can be released
      using snd_soc_jack_free_gpios function.
      Signed-off-by: NMisael Lopez Cruz <x0052729@ti.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      ec67624d
  27. 01 3月, 2009 1 次提交