1. 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
  2. 20 11月, 2012 1 次提交
    • 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. 17 10月, 2012 1 次提交
  4. 15 10月, 2012 1 次提交
  5. 06 10月, 2012 1 次提交
  6. 07 9月, 2012 1 次提交
  7. 17 7月, 2012 1 次提交
    • T
      ALSA: hda - Fix index number conflicts of phantom jacks · f46c3296
      Takashi Iwai 提交于
      Since some jack controls may be renamed as phantom jacks, the existing
      check for index conflicts doesn't work because it simply compares the
      name with the last used name, assuming that the controls with the same
      name continue.  Thus, it would result in the duplicated controls when
      two or more phantom jacks with the very same type exist, and the
      driver gives up with an error.
      
      This patch fixes the problem by checking the index number conflicts
      more intensively (but dumbly).
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      f46c3296
  8. 14 6月, 2012 1 次提交
    • D
      ALSA: HDA: Create phantom jacks for fixed inputs and outputs · 80c8bfbe
      David Henningsson 提交于
      PulseAudio sometimes have difficulties knowing that there is a
      "Speaker" or "Internal Mic", if they have no individual volume
      controls or selectors. As a result, only e g "Headphone" might
      be created for a laptop, but no "Speaker".
      To help out, create phantom jacks (that are always present,
      at least for now) for "Speaker", "Internal Mic" etc, in case we
      detect them.
      The naming convention is e g "Speaker Phantom Jack".
      
      In order not to pollute the /dev/input namespace with even more
      devices, these are added to the kcontrols only, not the input devices.
      Signed-off-by: NDavid Henningsson <david.henningsson@canonical.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      80c8bfbe
  9. 09 5月, 2012 1 次提交
  10. 13 2月, 2012 2 次提交
  11. 31 1月, 2012 1 次提交
  12. 02 12月, 2011 1 次提交
    • T
      ALSA: hda - Integrate input-jack stuff into kctl-jack · 31ef2257
      Takashi Iwai 提交于
      Instead of managing input-jack stuff separately, call all stuff inside
      the kctl-jack creation, deletion and report.  The caller no longer needs
      to care about input-jack.
      
      The better integration between input-jack and kctl-jack should be done
      in the upper layer in near future, but for now, it's implemented locally
      for more tests.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      31ef2257
  13. 16 11月, 2011 11 次提交