1. 24 5月, 2013 2 次提交
    • T
      ALSA: Add kconfig to specify the max card numbers · 7bb2491b
      Takashi Iwai 提交于
      Currently ALSA supports up to 32 card instances when the dynamic minor
      is used.  While 32 cards are usually big enough for normal use cases,
      there are sometimes weird requirements with more card support.
      
      Actually, this limitation, 32, comes from the index option, where you
      can pass the bit mask to assign the card.  Other than that, we can
      actually give more cards up to the minor number limits (currently 256,
      which can be extended more, too).
      
      This patch adds a new Kconfig to specify the max card numbers, and
      changes a few places to accept more than 32 cards.
      
      The only incompatibility with high card numbers would be the handling
      of index option.  The index option can be still used to pass the
      bitmask for card assignments, but this works only up to 32 slots.
      More than 32, no bitmask style option is available but only a single
      slot can be specified via index option.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      7bb2491b
    • L
      ALSA: Constify the snd_pcm_substream struct ops field · e6c2e7eb
      Lars-Peter Clausen 提交于
      The ops field of the snd_pcm_substream struct is never modified inside the ALSA
      core. Making it const allows drivers to declare their snd_pcm_ops struct as
      const.
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      e6c2e7eb
  2. 08 5月, 2013 1 次提交
  3. 29 4月, 2013 1 次提交
  4. 24 4月, 2013 2 次提交
  5. 22 4月, 2013 1 次提交
  6. 21 4月, 2013 3 次提交
  7. 18 4月, 2013 2 次提交
  8. 17 4月, 2013 5 次提交
  9. 04 4月, 2013 1 次提交
  10. 28 3月, 2013 3 次提交
  11. 27 3月, 2013 1 次提交
  12. 26 3月, 2013 1 次提交
  13. 20 3月, 2013 1 次提交
  14. 15 3月, 2013 1 次提交
  15. 13 3月, 2013 1 次提交
  16. 12 3月, 2013 1 次提交
  17. 11 3月, 2013 1 次提交
  18. 08 3月, 2013 3 次提交
  19. 04 3月, 2013 1 次提交
    • S
      ASoC: tegra_wm8903: assume CONFIG_OF, remove platform data · 8f5f5e0f
      Stephen Warren 提交于
      Tegra only supports, and always enables, device tree. Remove all runtime
      checks for DT support from the driver.
      
      This allows removal of the hard-coded Harmony ASoC mapping table, since
      Harmony only boots with DT now.
      
      All board-specific configuration now comes from device tree, so there is
      no need to have a platform_data structure. Rework the driver to parse the
      device tree directly into struct tegra_wm8903.
      
      Also some slight re-ordering of probe() so that the code more closely
      resembles other drivers for easier comparison. Inparticular, the GPIO DT
      parsing and initial programming are moved together for each GPIO.
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      8f5f5e0f
  20. 25 2月, 2013 1 次提交
    • M
      ASoC: dapm: Fix handling of loops · 8af294b4
      Mark Brown 提交于
      Currently if a path loops back on itself we correctly skip over it to
      avoid going into an infinite loop but this causes us to ignore the need
      to power up the path as we don't count the loop for the purposes of
      counting inputs and outputs. This means that internal loopbacks within a
      device that have powered devices on them won't be powered up.
      
      Fix this by treating any path that is currently in the process of being
      recursed as having a single input or output so that it is counted for
      the purposes of power decisions.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Acked-by: NLiam Girdwood <liam.r.girdwood@linux.intel.com>
      8af294b4
  21. 15 2月, 2013 1 次提交
  22. 14 2月, 2013 1 次提交
  23. 11 2月, 2013 1 次提交
  24. 08 2月, 2013 1 次提交
    • M
      ASoC: core: Allow digital mute for capture · da18396f
      Mark Brown 提交于
      Help avoid noise from the power up of the capture path propagating through
      into the start of the recording (especially noise caused by the ramp of
      microphone biases) by keeping the capture muted until after we've finished
      powering things up with DAPM in the same manner we do for playback. This
      allows us to take advantage of soft mute support in the hardware more
      effectively and is more consistent.
      
      The core code using the existing digital mute operation is updated to take
      advantage of this. Some additional cases in the soc-pcm code and suspend
      will need separate handling but these are less practically relevant than
      the main runtime stream start/stop case.
      
      Rather than refactor the digital mute function in every single driver a
      new operation is added for drivers taking advantage of this functionality,
      the old operation should be phased out over time.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Acked-by Vinod Koul <vinod.koul@intel.com>
      Acked-by: NLiam Girdwood <liam.r.girdwood@linux.intel.com>
      da18396f
  25. 07 2月, 2013 1 次提交
  26. 05 2月, 2013 2 次提交