1. 07 Jun, 2011 1 commit
  2. 06 Jun, 2011 1 commit
    • Stephen Warren's avatar
      ALSA: hda: Allow multple SPDIF controls per codec · 7c935976
      Stephen Warren authored
      
      
      Currently, the data that backs the kcontrols created by
      snd_hda_create_spdif_out_ctls is stored directly in struct hda_codec. When
      multiple sets of these controls are stored, they will all manipulate the
      same data, causing confusion. Instead, store an array of this data, one
      copy per converter, to isolate the controls.
      
      This patch would cause a behavioural change in the case where
      snd_hda_create_spdif_out_ctls was called multiple times for a single codec.
      As best I can tell, this is never the case for any codec.
      
      This will be relevant at least for some HDMI audio codecs, such as the
      NVIDIA GeForce 520 and Intel Ibex Peak. A future change will modify the
      driver's handling of those codecs to create multiple PCMs per codec. Note
      that this issue isn't affected by whether one creates a PCM-per-converter
      or PCM-per-pin; there are multiple of both within a single codec in both
      of those codecs.
      
      Note that those codecs don't currently create multiple PCMs for the codec
      due to the default HW mux state of all pins being to point at the same
      converter, hence there is only a single converter routed to any pin, and
      hence only a single PCM.
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      7c935976
  3. 27 May, 2011 1 commit
    • Linus Torvalds's avatar
      ALSA: fix hda AZX_DCAPS_NO_TCSEL quirk check in driver_caps · 46f2cc80
      Linus Torvalds authored
      Commit 9477c58e
      
       ("ALSA: hda - Reorganize controller quriks with bit
      flags") changed the driver type compares into various quirk bits.
      However, the check for AZX_DCAPS_NO_TCSEL got reverted: instead of
      clearing TCSEL for chipsets that have that standard capability, it
      cleared then when the NO_TCSEL bit was set.
      
      This can lead to noise and repeated sounds - a weird "echo" behavior.
      As the comment just above says: "Ensuring these bits are 0 clears
      playback static on some HD Audio codecs".  Which is definitely true at
      least on my Core i5 Westmere system.
      
      Cc: Takashi Iwai <tiwai@suse.de>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      46f2cc80
  4. 26 May, 2011 1 commit
    • Takashi Iwai's avatar
      ALSA: hda - Reorganize controller quriks with bit flags · 9477c58e
      Takashi Iwai authored
      
      
      Introduce bit-flags indicating the necessary controller quirks, and
      set them in pci driver_data field.  This simplifies the checks in the
      driver code and avoids the pci-id lookup in different places.
      
      Also, this patch adds the PCI ID entry for AMD Hudson.  AMD Hudson
      requires a similar workaround like ATI SB while other generic ATI and
      AMD controllers don't need but some ATI-HDMI quirks.  So, we need a
      different entry for Hudson.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      9477c58e
  5. 20 May, 2011 2 commits
  6. 17 May, 2011 1 commit
  7. 04 May, 2011 1 commit
  8. 26 Apr, 2011 1 commit
  9. 20 Apr, 2011 1 commit
  10. 10 Mar, 2011 1 commit
  11. 14 Feb, 2011 1 commit
  12. 10 Feb, 2011 1 commit
  13. 17 Jan, 2011 1 commit
  14. 30 Dec, 2010 1 commit
  15. 06 Dec, 2010 1 commit
  16. 22 Nov, 2010 1 commit
  17. 22 Oct, 2010 1 commit
  18. 21 Oct, 2010 1 commit
  19. 12 Oct, 2010 1 commit
  20. 30 Sep, 2010 1 commit
  21. 26 Sep, 2010 1 commit
  22. 15 Sep, 2010 1 commit
  23. 13 Sep, 2010 1 commit
  24. 06 Aug, 2010 1 commit
    • Takashi Iwai's avatar
      ALSA: hda - Make converter setups sticky · eb541337
      Takashi Iwai authored
      
      
      So far, we reset the converter setups like the stream-tag, the
      channel-id and format-id in prepare callbacks, and clear them in
      cleanup callbacks.  This often causes a silence of the digital
      receiver for a couple of seconds.
      
      This patch tries to delay the converter setup changes as much as
      possible.  The converter setups are cached and aren't reset as long
      as the same values are used.  At suspend/resume, they are cleared
      to be recovered properly, too.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      eb541337
  25. 03 Aug, 2010 2 commits
  26. 02 Jun, 2010 2 commits
  27. 31 May, 2010 3 commits
  28. 29 May, 2010 1 commit
  29. 27 May, 2010 1 commit
    • Daniel T Chen's avatar
      ALSA: hda: Use LPIB for Sony VPCS11V9E · e96d3127
      Daniel T Chen authored
      BugLink: https://launchpad.net/bugs/586347
      
      
      
      Symptom: On the Sony VPCS11V9E, using GStreamer-based applications with
      PulseAudio in Ubuntu 10.04 LTS results in stuttering audio. It appears
      to worsen with increased I/O.
      
      Test case: use Rhythmbox under increased I/O pressure. This symptom is
      reproducible in the current daily stable alsa-driver snapshots (at least
      up until 21 May 2010; later snapshots fail to build from source due to
      missing preprocessor directives when compiled against 2.6.32).
      
      Resolution: add SSID for this machine to the position_fix quirk table,
      explicitly specifying the LPIB method.
      Reported-and-Tested-By: default avatarLauri Kainulainen <lauri@sokkelo.net>
      Cc: <stable@kernel.org>
      Signed-off-by: default avatarDaniel T Chen <crimsun@ubuntu.com>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      e96d3127
  30. 25 May, 2010 3 commits
    • Clemens Ladisch's avatar
      ALSA: hda_intel: fix handling of non-completion stream interrupts · 9ef04066
      Clemens Ladisch authored
      
      
      Check that the interrupt raised for a stream is actually a buffer
      completion interrupt before handling it as one.  Otherwise, memory
      errors or FIFO xruns would be interpreted as a pointer update and could
      break the stream timing.
      Signed-off-by: default avatarClemens Ladisch <clemens@ladisch.de>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      9ef04066
    • Daniel T Chen's avatar
      ALSA: hda: Use LPIB for Toshiba A100-259 · 4e0938db
      Daniel T Chen authored
      BugLink: https://launchpad.net/bugs/549560
      
      
      
      Symptom: on a significant number of hardware, booting from a live cd
      results in capture working correctly, but once the distribution is
      installed, booting from the install results in capture not working.
      
      Test case: boot from Ubuntu 10.04 LTS live cd; capture works correctly.
      Install to HD and reboot; capture does not work. Reproduced with 2.6.32
      mainline build (vanilla kernel.org compile)
      
      Resolution: add SSID for Toshiba A100-259 to the position_fix quirk
      table, explicitly specifying the LPIB method.
      
      I'll be sending additional patches for these SSIDs as bug reports are
      confirmed.
      
      This patch also trivially sorts the quirk table in ascending order by
      subsystem vendor.
      
      Reported-and-Tested-by: <davide.molteni@gmail.com>
      Cc: <stable@kernel.org>
      Signed-off-by: default avatarDaniel T Chen <crimsun@ubuntu.com>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      4e0938db
    • Daniel T Chen's avatar
      ALSA: hda: Use LPIB for Acer Aspire 5110 · 7a68be94
      Daniel T Chen authored
      BugLink: https://launchpad.net/bugs/583983
      
      
      
      Symptom: on a significant number of hardware, booting from a live cd
      results in capture working correctly, but once the distribution is
      installed, booting from the install results in capture not working.
      
      Test case: boot from Ubuntu 10.04 LTS live cd; capture works correctly.
      Install to HD and reboot; capture does not work. Reproduced with 2.6.32
      mainline build (vanilla kernel.org compile).
      
      Resolution: add SSID for Acer Aspire 5110 to the position_fix quirk
      table, explicitly specifying the LPIB method.
      
      I'll be sending additional patches for these SSIDs as bug reports are
      confirmed.
      
      Reported-and-Tested-By: Leo
      Cc: <stable@kernel.org>
      Signed-off-by: default avatarDaniel T Chen <crimsun@ubuntu.com>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      7a68be94
  31. 11 May, 2010 3 commits