1. 02 8月, 2013 1 次提交
    • 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
  2. 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
  3. 30 7月, 2013 2 次提交
  4. 29 7月, 2013 1 次提交
  5. 24 7月, 2013 2 次提交
  6. 22 7月, 2013 2 次提交
  7. 21 7月, 2013 1 次提交
  8. 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
  9. 19 7月, 2013 2 次提交
    • 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
    • T
      ALSA: hda - Fix EAPD GPIO control for Sigmatel codecs · 1ea9a69d
      Takashi Iwai 提交于
      The EAPD GPIO is dynamically turned on/off for some machines with
      Sigmatel codecs, but this didn't work as expected, and it resulted in
      spontaneous lost of speaker outputs per HP plugging or power-saving.
      
      This patch fixes the bug by simply including spec->eapd_mask into
      spec->gpio_mask and spec->gpio_data bits.
      Reported-and-tested-by: NEric Shattow <lucent@gmail.com>
      Cc: <stable@vger.kernel.org> [v3.9+]
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      1ea9a69d
  10. 17 7月, 2013 2 次提交
    • T
      ALSA: seq-oss: Initialize MIDI clients asynchronously · 256ca9c3
      Takashi Iwai 提交于
      We've got bug reports that the module loading stuck on Debian system
      with 3.10 kernel.  The debugging session revealed that the initial
      registration of OSS sequencer clients stuck at module loading time,
      which involves again with request_module() at the init phase.  This is
      triggered only by special --install stuff Debian is using, but it's
      still not good to have such loops.
      
      As a workaround, call the registration part asynchronously.  This is a
      better approach irrespective of the hang fix, in anyway.
      Reported-and-tested-by: NPhilipp Matthias Hahn <pmhahn@pmhahn.de>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      256ca9c3
    • S
      ASoC: sgtl5000: defer the probe if clock is not found · 46a5905e
      Shawn Guo 提交于
      It's not always the case that clock is already available when sgtl5000
      get probed at the first time, e.g. the clock is provided by CPU DAI
      which may be probed after sgtl5000.  So let's defer the probe when
      devm_clk_get() call fails and give it chance to try later.
      
      It fixes the regression on imx28 since commit 9e13f345 (ASoC: sgtl5000:
      Let the codec acquire its clock).
      
      [    1.927637] sgtl5000 0-000a: Failed to get mclock: -2
      [    1.934280] sgtl5000: probe of 0-000a failed with error -2
      [    1.945906] mxs-sgtl5000 sound.13: ASoC: CODEC (null) not registered
      [    1.953787] mxs-sgtl5000 sound.13: snd_soc_register_card failed (-517)
      [    1.960865] platform sound.13: Driver mxs-sgtl5000 requests probe deferral
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      46a5905e
  11. 16 7月, 2013 10 次提交
  12. 15 7月, 2013 2 次提交
  13. 12 7月, 2013 5 次提交
  14. 11 7月, 2013 1 次提交
  15. 10 7月, 2013 1 次提交
    • E
      ALSA: usb-audio: fix regression for fixed stream quirk · 42d4ab83
      Eldad Zack 提交于
      Commit 8f898e92 removed the redundant
      reads of bInterfaceProtocol from the descriptors, but introduced a
      regression to devices with quirks of type QUIRK_AUDIO_FIXED_ENDPOINT,
      since fp->protocol is not set in setup process.
      
      As a consequence, audio streams would not get initialized, as the
      following logs show:
      
      [   48.923043] setting usb interface 3:1
      [   48.923056] Creating new capture data endpoint #81
      [   48.923484] 4:3:1: cannot set freq 48000 to ep 0x81
      
      This patch sets fp->protocol in create_fixed_stream_quirk() and
      resolves the regression.
      Signed-off-by: NEldad Zack <eldad@fogrefinery.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      42d4ab83
  16. 08 7月, 2013 1 次提交
  17. 05 7月, 2013 3 次提交
  18. 04 7月, 2013 1 次提交
    • S
      ASoC: wm8962: fix NULL pdata pointer · 4642aabd
      Shawn Guo 提交于
      There is an error in merge commit 384b8345 on conflict resolution which
      causes the following NULL pdata pointer bug.
      
      wm8962 0-001a: customer id 0 revision D
      Unable to handle kernel NULL pointer dereference at virtual address 00000004
      pgd = 80004000
      [00000004] *pgd=00000000
      Internal error: Oops: 5 [#1] SMP ARM
      Modules linked in:
      CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.10.0+ #1
      task: bf870000 ti: bf874000 task.ti: bf874000
      PC is at wm8962_probe+0x134/0x6c8
      LR is at regmap_unlock_mutex+0x10/0x14
      pc : [<80452100>]    lr : [<80304cf4>]    psr: a0000113
      sp : bf875c98  ip : 00000000  fp : bf875cd4
      r10: 00000000  r9 : bfb1830c  r8 : 80779bc4
      r7 : 00000000  r6 : 00000001  r5 : bfbac010  r4 : bfb33e00
      r3 : 80304ce4  r2 : 00000000  r1 : 00000001  r0 : fffffffb
      Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
      Control: 10c53c7d  Table: 1000404a  DAC: 00000017
      Process swapper/0 (pid: 1, stack limit = 0xbf874238)
      Stack: (0xbf875c98 to 0xbf876000)
      ...
      
      Fix the error by assigning pdata a correct pointer.
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      4642aabd