1. 21 10月, 2013 8 次提交
  2. 18 10月, 2013 1 次提交
    • C
      ALSA: add DICE driver · 82fbb4f7
      Clemens Ladisch 提交于
      As a start point for further development, this is an incomplete driver
      for DICE devices:
      - only playback (so no clock source except the bus clock)
      - only 44.1 kHz
      - no MIDI
      - recovery after bus reset is slow
      - hwdep device is created, but not actually implemented
      
      Contains compilation fixes by Stefan Richter.
      Signed-off-by: NClemens Ladisch <clemens@ladisch.de>
      82fbb4f7
  3. 28 8月, 2013 1 次提交
    • T
      ALSA: opti9xx: Fix conflicting driver object name · fb615499
      Takashi Iwai 提交于
      The recent commit to delay the release of kobject triggered NULL
      dereferences of opti9xx drivers.  The cause is that all
      snd-opti92x-ad1848, snd-opti92x-cs4231 and snd-opti93x drivers
      register the PnP card driver with the very same name, and also
      snd-opti92x-ad1848 and -cs4231 drivers register the ISA driver with
      the same name, too.  When these drivers are built in, quick
      "register-release-and-re-register" actions occur, and this results in
      Oops because of the same name is assigned to the kobject.
      
      The fix is simply to assign individual names.  As a bonus, by using
      KBUILD_MODNAME, the patch reduces more lines than it adds.
      
      The fix is based on the suggestion by Russell King.
      Reported-and-tested-by: NFengguang Wu <fengguang.wu@intel.com>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      fb615499
  4. 23 8月, 2013 1 次提交
  5. 20 8月, 2013 1 次提交
  6. 16 8月, 2013 1 次提交
  7. 15 8月, 2013 1 次提交
    • S
      ASoC: tegra: fix Tegra30 I2S capture parameter setup · c90c0d7a
      Stephen Warren 提交于
      The Tegra30 I2S driver was writing the AHUB interface parameters to the
      playback path register rather than the capture path register. This
      caused the capture parameters not to be configured at all, so if
      capturing using non-HW-default parameters (e.g. 16-bit stereo rather
      than 8-bit mono) the audio would be corrupted.
      
      With this fixed, audio capture from an analog microphone works correctly
      on the Cardhu board.
      
      Cc: stable@vger.kernel.org
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      c90c0d7a
  8. 12 8月, 2013 6 次提交
  9. 08 8月, 2013 1 次提交
  10. 07 8月, 2013 3 次提交
  11. 02 8月, 2013 2 次提交
    • T
      ALSA: hda - Fix missing fixup for Mac Mini with STAC9221 · 697aebab
      Takashi Iwai 提交于
      A fixup for Apple Mac Mini was lost during the adaption to the generic
      parser because the fallback for the generic ID 8384:7680 was dropped,
      and it resulted in the silence output (and maybe other problems).
      
      Unfortunately, just adding the missing subsystem ID wasn't enough, in
      this case.  The subsystem ID of this machine is 0000:0100 (what Apple
      thought...?), and since snd_hda_pick_fixup() doesn't take the vendor
      id zero into account, the driver ignored this entry.  Now it's fixed
      to regard the vendor id zero as a valid value.
      Reported-and-tested-by: NLinus Torvalds <torvalds@linux-foundation.org>
      Cc: <stable@vger.kernel.org> [v3.9+]
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      697aebab
    • L
      ASoC: dapm: Fix empty list check in dapm_new_mux() · fe581391
      Lars-Peter Clausen 提交于
      list_first_entry() will always return a valid pointer, even if the list is
      empty. So the check whether path is NULL will always be false. So we end up
      calling dapm_create_or_share_mixmux_kcontrol() with a path struct that points
      right in the middle of the widget struct and by trying to modify the path the
      widgets memory will become corrupted. Fix this by using list_emtpy() to check if
      the widget doesn't have any paths.
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Tested-by: NStephen Warren <swarren@nvidia.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      Cc: stable@vger.kernel.org
      fe581391
  12. 01 8月, 2013 2 次提交
  13. 31 7月, 2013 2 次提交
    • D
      ASoC: wm0010: Fix resource leak · 4f8b1914
      Dimitris Papastamos 提交于
      If kzalloc() fails for `img' then we are going to leak the memory
      for `out'.  We are freeing the memory of all the tx/rx transfers
      but the tx/rx buf pointers will be NULL if we drop out earlier.
      Signed-off-by: NDimitris Papastamos <dp@opensource.wolfsonmicro.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      4f8b1914
    • R
      ASoC: au1x: Fix build · d2ee88d0
      Ralf Baechle 提交于
      d8b51c11 [ASoC: ac97c: Use
      module_platform_driver()] broke the build:
      
       CC      sound/soc/au1x/ac97c.o
      /home/ralf/src/linux/upstream-sfr/sound/soc/au1x/ac97c.c:344:1: error: expected identifier or ‘(’ before ‘&’ token
      /home/ralf/src/linux/upstream-sfr/sound/soc/au1x/ac97c.c:344:1: error: pasting "__initcall_" and "&" does not give a valid preprocessing token
      /home/ralf/src/linux/upstream-sfr/sound/soc/au1x/ac97c.c:344:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘&’ token
      /home/ralf/src/linux/upstream-sfr/sound/soc/au1x/ac97c.c:344:1: error: expected identifier or ‘(’ before ‘&’ token
      /home/ralf/src/linux/upstream-sfr/sound/soc/au1x/ac97c.c:344:1: error: pasting "__exitcall_" and "&" does not give a valid preprocessing token
      /home/ralf/src/linux/upstream-sfr/sound/soc/au1x/ac97c.c:344:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘&’ token
      /home/ralf/src/linux/upstream-sfr/sound/soc/au1x/ac97c.c:334:31: warning: ‘au1xac97c_driver’ defined but not used [-Wunused-variable]
      make[5]: *** [sound/soc/au1x/ac97c.o] Error 1
      make[4]: *** [sound/soc/au1x] Error 2
      make[3]: *** [sound/soc] Error 2
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      d2ee88d0
  14. 30 7月, 2013 2 次提交
  15. 29 7月, 2013 1 次提交
  16. 24 7月, 2013 2 次提交
  17. 22 7月, 2013 2 次提交
  18. 21 7月, 2013 1 次提交
  19. 20 7月, 2013 1 次提交
    • H
      ASoC: ep93xx: fix build of ep93xx-ac97.c · 83e2e4ee
      H Hartley Sweeten 提交于
      Fix the build of this driver. It was broken by:
      
      Commit 453807f3
      ASoC: ep93xx: Use ep93xx_dma_params instead of ep93xx_pcm_dma_params
      
      The removed struct ep93xx_pcm_dma_params use the member 'dma_port' to
      select the dma channel. The struct ep93xx_dma_data uses the member
      'port'.
      Signed-off-by: NH Hartley Sweeten <hsweeten@visionengravers.com>
      Cc: Ryan Mallon <rmallon@gmail.com>
      Cc: Lars-Peter Clausen <lars@metafoo.de>
      Cc: Mark Brown <broonie@kernel.org>
      Cc: Liam Girdwood <lgirdwood@gmail.com>
      Cc: Jaroslav Kysela <perex@perex.cz>
      Cc: Takashi Iwai <tiwai@suse.de>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      83e2e4ee
  20. 19 7月, 2013 1 次提交
    • T
      ALSA: hda - Remove NO_PRESENCE bit override for Dell 1420n Laptop · f3e351ee
      Takashi Iwai 提交于
      The quirk for Dell laptops with STAC9228 overrides the pin default
      config of NID 0x0f to the value with AC_DEFCFG_MISC_NO_PRESENCE bit
      on.  I'm not quite sure why this was done so, but can guess that this
      was introduced for avoiding this to be muted by another headphone
      plug.  Now, after transition to the generic parser, this workaround
      rather causes a problem (notably as unexpected speaker mutes) because
      the pin is seen as if it's always plugged in.
      
      Since the generic parser can handle multiple headphone plugging
      gracefully, we can get rid of this override now.
      Reported-and-tested-by: NEric Shattow <lucent@gmail.com>
      Cc: <stable@vger.kernel.org> [v3.9+]
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      f3e351ee