1. 24 11月, 2013 1 次提交
    • S
      ASoC: dapm: Use SND_SOC_DAPM_INIT_REG_VAL in SND_SOC_DAPM_MUX · faf6615b
      Stephen Warren 提交于
      SND_SOC_DAPM_MUX() doesn't currently initialize the .mask field. This
      results in the mux never affecting HW, since no bits are ever set or
      cleared. Fix SND_SOC_DAPM_MUX() to use SND_SOC_DAPM_INIT_REG_VAL() to
      set up the reg, shift, on_val, and off_val fields like almost all other
      SND_SOC_xxx() macros. It looks like this was a "typo" in the fixed
      commit linked below.
      
      This makes the speakers on the Toshiba AC100 (PAZ00) laptop work again.
      
      Fixes: de9ba98b ("ASoC: dapm: Make widget power register settings more flexible")
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      Cc: <stable@vger.kernel.org> # v3.12+
      faf6615b
  2. 07 11月, 2013 1 次提交
    • V
      ALSA: compress: fix drain calls blocking other compress functions (v6) · f44f2a54
      Vinod Koul 提交于
      The drain and drain_notify callback were blocked by low level driver
      until the draining was complete. Due to this being invoked with big
      fat mutex held, others ops like reading timestamp, calling pause, drop
      were blocked.
      
      So to fix this we add a new snd_compr_drain_notify() API. This would
      be required to be invoked by low level driver when drain or partial
      drain has been completed by the DSP. Thus we make the drain and
      partial_drain callback as non blocking and driver returns immediately
      after notifying DSP.  The waiting is done while releasing the lock so
      that other ops can go ahead.
      
      [ The commit 917f4b5c was wrongly applied from the preliminary
        patch.  This commit corrects to the final version.
        Sorry for inconvenience!  -- tiwai ]
      Signed-off-by: NVinod Koul <vinod.koul@intel.com>
      CC: stable@vger.kernel.org
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      f44f2a54
  3. 29 10月, 2013 1 次提交
    • T
      ALSA: ak4114: Fix wrong register array size · e12483e0
      Takashi Iwai 提交于
      The size of the register cache array is actually 6 instead of 7,
      as it caches up to AK4114_REG_INT1_MASK.  This resulted in unexpected
      access out of array range, although most of them aren't so serious
      (just reading one more byte on the stack at snd_ak4114_create()).
      
      Also, the check of cache size was wrongly done by checking with
      sizeof() instead of ARRAY_SIZE().  Fixed this together.
      
      (And yes, hardcoded numbers are bad, but I keep the coding style as is
       for making it clear what this patch actually does.)
      
      Spotted by coverity among several CIDs, e.g. 711621.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      e12483e0
  4. 25 10月, 2013 1 次提交
  5. 24 10月, 2013 4 次提交
  6. 21 10月, 2013 2 次提交
  7. 20 10月, 2013 1 次提交
    • L
      ASoC: dmaengine-pcm: Add support for querying DMA capabilities · c0de42bf
      Lars-Peter Clausen 提交于
      Currently each platform making use the the generic dmaengine PCM driver still
      needs to provide a custom snd_pcm_hardware struct which specifies the
      capabilities of the DMA controller, e.g. the maximum period size that can be
      supported. This patch adds code which uses the newly introduced
      dma_get_slave_caps() API to query this information from the dmaengine driver.
      The new code path will only be taken if the 'pcm_hardware' field of the
      snd_dmaengine_pcm_config struct is NULL.
      
      The patch also introduces a new 'fifo_size' field to the
      snd_dmaengine_dai_dma_data struct which is used to initialize the
      snd_pcm_hardware 'fifo_size' field and needs to be set by the DAI driver.
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      c0de42bf
  8. 18 10月, 2013 2 次提交
  9. 15 10月, 2013 1 次提交
  10. 12 10月, 2013 1 次提交
  11. 07 10月, 2013 1 次提交
  12. 17 9月, 2013 10 次提交
  13. 09 9月, 2013 1 次提交
  14. 01 9月, 2013 1 次提交
  15. 31 8月, 2013 3 次提交
  16. 27 8月, 2013 1 次提交
  17. 20 8月, 2013 1 次提交
  18. 19 8月, 2013 1 次提交
    • T
      ALSA: pcm: Add snd_printd_ratelimit() · bcbb1553
      Tim Gardner 提交于
      Direct calls to printk_limit() will emit log noise even when CONFIG_SND_DEBUG is not
      defined. Add a wrapper macro around printk_limit() that is conditionally defined by
      CONFIG_SND_DEBUG.
      
      Cc: Jaroslav Kysela <perex@perex.cz>
      Cc: Takashi Iwai <tiwai@suse.de>
      Cc: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
      Cc: Lars-Peter Clausen <lars@metafoo.de>
      Cc: Yacine Belkadi <yacine.belkadi.1@gmail.com>
      Signed-off-by: NTim Gardner <tim.gardner@canonical.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      bcbb1553
  19. 18 8月, 2013 1 次提交
  20. 15 8月, 2013 1 次提交
  21. 11 8月, 2013 2 次提交
  22. 07 8月, 2013 2 次提交