1. 07 12月, 2012 1 次提交
  2. 05 12月, 2012 1 次提交
  3. 04 12月, 2012 1 次提交
    • T
      ALSA: hda - Fix yet another race of vga_switcheroo registration · f4c482a4
      Takashi Iwai 提交于
      The recent fix for vga switcheroo race in commit 128960a9 opened yet
      another race.  At the time the audio driver starts probing, user may
      turn off D-GPU off.  But at this moment, the audio driver still
      doesn't register the vga switcheroo client, thus the switching isn't
      notified.  Then the hardware gets off out of sudden, resulting in
      invalid reads and lots of "spurious response" error messages.
      
      For solving this situation, the following changes have been done in
      this patch:
      - Move again vga switcheroo registration to the very early stage of
        the probing; this also requires to set pci drvdata properly before
        registration
      - Introduce the completion to synchronize the driver probe at vga
        switcheroo callbacks; this assures that the whole probing finished
        before executing the callbacks
      Reported-by: NDaniel J Blueman <daniel@quora.org>
      Tested-by: NDaniel J Blueman <daniel@quora.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      f4c482a4
  4. 03 12月, 2012 1 次提交
    • T
      ALSA: hda/realtek - Keep the channel count for multiple speakers · b6adb57d
      Takashi Iwai 提交于
      The current Realtek driver reconfigures the max PCM channels
      dynamically according to the value of Channel Mode enum if the
      multi-io retasking is available.  It works fine for multi-io pins.
      But when multiple speaker pins are available, the channels of speakers
      also have to obey to the channel mode, which isn't nice.
      (That is, when you select "2ch" in Channel Mode so that the line-in
       and mic jack behave as input, you can't play surrounds properly from
       the built-in speaker.)
      
      This patch fixes the problem by taking the channel number for multiple
      speakers into account in the channel-mode setup code.
      Also it fixes the wrongly set up max_channels value in the case of
      multi-io extension.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      b6adb57d
  5. 01 12月, 2012 1 次提交
  6. 30 11月, 2012 3 次提交
  7. 28 11月, 2012 1 次提交
    • T
      ALSA: hda - Call snd_array_init() early and only once · 361dab3e
      Takashi Iwai 提交于
      This is a preliminary patch for introducing a protection to access
      races of snd_array instances.  Call snd_array_init() appropriately
      at the initialization time and don't call it twice.
      
      Also the allocations of codec-spec structs are cleaned up by helper
      functions in patch_sigmatel.c and patch_analog.c.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      361dab3e
  8. 24 11月, 2012 1 次提交
  9. 23 11月, 2012 5 次提交
  10. 21 11月, 2012 4 次提交
  11. 20 11月, 2012 3 次提交
    • T
      ALSA: hda - Limit runtime PM support only to known Intel chips · 2ea3c6a2
      Takashi Iwai 提交于
      We've got a report that the runtime PM may make the codec the
      unresponsive on AMD platforms.  Since the feature has been tested only
      on the recent Intel platforms, it's safer to limit the support to such
      devices for now.
      
      This patch adds a new DCAPS bit flag indicating the runtime PM
      support, and mark it for Intel controllers.
      Reported-and-tested-by: NJulian Wollrath <jwollrath@web.de>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      2ea3c6a2
    • D
      ALSA: hda - Fix Acer Aspire models with analog mics. · 08a978db
      Dylan Reid 提交于
      The Acer Aspire AO756 has an analog built-in mic on nid 0x1b and an
      external mic on nid 0x19.  The BIOS doesn't set this up.
      
      The mic detect on this Acer Aspire netbook and Acer C7 ChromeBook is
      only valid when the headphone is plugged.  The detect circuit relies on
      the tip detect switch being closed on the jack.  Tell hda_jack to ignore
      the mic sense unless the headphones are plugged.
      Signed-off-by: NDylan Reid <dgreid@chromium.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      08a978db
    • D
      ALSA: hda - Allow jack state to depend on another jack · 0619ba8c
      Dylan Reid 提交于
      Introduce the concept of a "gated" jack.  The gated jack's pin sense
      is
      only valid when the "gating" jack is plugged.  This requires checking
      the gating jack when the gated jack changes and re-checking the gated
      jack when the gating jack is plugged/unplugged.
      
      This allows handling of devices where the mic jack detect floats when
      the headphone jack is unplugged.
      
      [Rewritten for fixing the possible snd_array reallocation, covering
       the missing callback calls and jack sync operations, as well as some
       code cleanups -- tiwai]
      Signed-off-by: NDylan Reid <dgreid@chromium.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      0619ba8c
  12. 19 11月, 2012 1 次提交
  13. 12 11月, 2012 1 次提交
  14. 09 11月, 2012 3 次提交
  15. 08 11月, 2012 2 次提交
  16. 07 11月, 2012 4 次提交
  17. 05 11月, 2012 4 次提交
  18. 04 11月, 2012 2 次提交
  19. 30 10月, 2012 1 次提交