1. 21 11月, 2012 1 次提交
  2. 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
  3. 19 11月, 2012 2 次提交
  4. 18 11月, 2012 1 次提交
  5. 17 11月, 2012 1 次提交
  6. 14 11月, 2012 4 次提交
  7. 13 11月, 2012 2 次提交
    • M
      ALSA: usb-audio: Add quirk for Focusrite Scarlett 18i6 · 1762a59d
      Martin Schwenke 提交于
      Probing this device currently fails in snd_usb_audio_probe() because
      the call to snd_usb_create_mixer() fails.  This is due to unknown or
      non-standard interface descriptor subtypes in parse_audio_unit():
      
        usbaudio: unit 51: unexpected type 0x09
        snd-usb-audio: probe of 1-8:1.0 failed with error -5
      
      Some people are working around this by recompiling usb-audio with the
      call to snd_usb_create_mixer() commented out.  It would be nice to
      avoid that.
      
      While the best idea would be to look into the mixer creation failure,
      a reasonable short-term solution is to use quirks to only probe the
      trouble-free interfaces.  This allows audio and MIDI interfaces to be
      used without any obvious issues.
      
      Interface 0 is the main one to ignore.  It contains lots of
      control-fu, including the unexpected interface descriptor subtypes.
      Interface 5 is for firmware updates and I'm not sure how to get
      support for this.  Interface 3 is some sort of control interface that
      I don't understand:
      
          Interface Descriptor:
            bLength                 9
            bDescriptorType         4
            bInterfaceNumber        3
            bAlternateSetting       0
            bNumEndpoints           0
            bInterfaceClass         1 Audio
            bInterfaceSubClass      1 Control Device
            bInterfaceProtocol      0
            iInterface              0
            AudioControl Interface Descriptor:
              bLength                 9
              bDescriptorType        36
              bDescriptorSubtype      1 (HEADER)
              bcdADC               1.00
              wTotalLength            9
              bInCollection           1
              baInterfaceNr( 0)       1
      Signed-off-by: NMartin Schwenke <martin@meltin.net>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      1762a59d
    • D
      ALSA: es1968: precedence bug in snd_es1968_tea575x_get_pins() · d2153a15
      Dan Carpenter 提交于
      I don't think this works as intended.  '|' higher precedence than ?: so
      the bitwize OR "0 | (val & STR_MOST)" is a no-op.
      
      I have re-written it to be more clear.
      Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      d2153a15
  8. 12 11月, 2012 4 次提交
  9. 10 11月, 2012 2 次提交
  10. 09 11月, 2012 3 次提交
  11. 08 11月, 2012 5 次提交
  12. 07 11月, 2012 6 次提交
  13. 06 11月, 2012 1 次提交
  14. 05 11月, 2012 5 次提交