1. 22 3月, 2013 4 次提交
    • T
      Merge branch 'for-linus' into for-next · 10d74107
      Takashi Iwai 提交于
      Merge back for-linus branch for the badness table adjustment for VIA codecs
      
      * for-linus:
        ALSA: hda - Fix DAC assignment for independent HP
        ALSA: hda - Fix abuse of snd_hda_lock_devices() for DSP loader
        ALSA: hda - Fix typo in checking IEC958 emphasis bit
        ALSA: snd-usb: mixer: ignore -EINVAL in snd_usb_mixer_controls()
        ALSA: snd-usb: mixer: propagate errors up the call chain
        ALSA: usb: Parse UAC2 extension unit like for UAC1
        ALSA: hda - Fix yet missing GPIO/EAPD setup in cirrus driver
      10d74107
    • T
      ALSA: hda - Fix DAC assignment for independent HP · 55a63d4d
      Takashi Iwai 提交于
      The generic parser should evaluate the availability of the independent
      HP when specified.  Otherwise a DAC without the direct connection to
      the corresponding pin may be assigned for the HP, but the driver
      doesn't check it at all.  The problem was actually seen on some
      machines with VT1708s or equivalent codec, where DAC0 is assigned to
      HP although it can be connected only via aamix.
      
      This patch adds the badness evaluation for the independent HP to make
      it working properly.
      Reported-by: NLydia Wang <LydiaWang@viatech.com.cn>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      55a63d4d
    • D
      ALSA: hda - Enable "Headset Mic" name for some Dell Latitude devices · f390dad4
      David Henningsson 提交于
      Now that we have a "Headset Mic" name, let's use it for some devices
      we know for sure has a headset mic jack.
      Signed-off-by: NDavid Henningsson <david.henningsson@canonical.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      f390dad4
    • D
      ALSA: hda - Introduce "Headset Mic" name · a385d97b
      David Henningsson 提交于
      Headset mic jacks, i e TRRS style jacks with Headphone Left,
      Headphone Right, Mic and GND signals, are becoming increasingly
      common and are now being shipped by several manufacturers.
      
      Unfortunately, the HDA specification does not give us any hint
      of whether a Mic pin belongs to such a jack or not, but it would
      still be helpful for the user to know (especially if there is one
      TRS Mic jack and one TRRS headset jack).
      
      This new fixup causes the first (non-dock, non-internal) mic to
      be a headset mic jack. The algorithm can be later refined if needed.
      Signed-off-by: NDavid Henningsson <david.henningsson@canonical.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      a385d97b
  2. 21 3月, 2013 1 次提交
    • T
      ALSA: hda - Fix abuse of snd_hda_lock_devices() for DSP loader · eb49faa6
      Takashi Iwai 提交于
      The current DSP loader code abuses snd_hda_lock_devices() for ensuring
      the DSP loader not conflicting with the other normal operations.  But
      this trick obviously doesn't work for the PM resume since the streams
      are kept opened there where snd_hda_lock_devices() returns -EBUSY.
      That means we need another lock mechanism instead of abuse.
      
      This patch provides the new lock state to azx_dev.  Theoretically it's
      possible that the DSP loader conflicts with the stream that has been
      already assigned for another PCM.  If it's running, the DSP loader
      should simply fail.  If not -- it's the case for PM resume --, we
      should assign this stream temporarily to the DSP loader, and take it
      back to the PCM after finishing DSP loading.  If the PCM is operated
      during the DSP loading, it should get an error, too.
      Reported-and-tested-by: NDylan Reid <dgreid@chromium.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      eb49faa6
  3. 20 3月, 2013 4 次提交
  4. 18 3月, 2013 13 次提交
  5. 17 3月, 2013 1 次提交
  6. 15 3月, 2013 5 次提交
  7. 14 3月, 2013 4 次提交
  8. 13 3月, 2013 2 次提交
  9. 12 3月, 2013 4 次提交
  10. 11 3月, 2013 2 次提交