1. 24 10月, 2013 1 次提交
    • T
      ALSA: hda - Fix mute LED on HP laptops in runtime suspend · 95f74c41
      Takashi Iwai 提交于
      When HP laptops with mute and mic-record LEDs go to runtime suspend,
      these LEDs are turned on forcibly no matter whether GPIO pis are on or
      off.  This strange behavior seems triggered by resetting the HD-audio
      bus link at azx_rutime_suspend().  So, just add a new hda_bus flag to
      avoid the link reset at runtime suspend and set it for these HP
      machines.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      95f74c41
  2. 02 8月, 2013 1 次提交
    • T
      ALSA: hda - Fix missing fixup for Mac Mini with STAC9221 · 697aebab
      Takashi Iwai 提交于
      A fixup for Apple Mac Mini was lost during the adaption to the generic
      parser because the fallback for the generic ID 8384:7680 was dropped,
      and it resulted in the silence output (and maybe other problems).
      
      Unfortunately, just adding the missing subsystem ID wasn't enough, in
      this case.  The subsystem ID of this machine is 0000:0100 (what Apple
      thought...?), and since snd_hda_pick_fixup() doesn't take the vendor
      id zero into account, the driver ignored this entry.  Now it's fixed
      to regard the vendor id zero as a valid value.
      Reported-and-tested-by: NLinus Torvalds <torvalds@linux-foundation.org>
      Cc: <stable@vger.kernel.org> [v3.9+]
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      697aebab
  3. 29 7月, 2013 1 次提交
  4. 19 7月, 2013 2 次提交
    • T
      ALSA: hda - Remove NO_PRESENCE bit override for Dell 1420n Laptop · f3e351ee
      Takashi Iwai 提交于
      The quirk for Dell laptops with STAC9228 overrides the pin default
      config of NID 0x0f to the value with AC_DEFCFG_MISC_NO_PRESENCE bit
      on.  I'm not quite sure why this was done so, but can guess that this
      was introduced for avoiding this to be muted by another headphone
      plug.  Now, after transition to the generic parser, this workaround
      rather causes a problem (notably as unexpected speaker mutes) because
      the pin is seen as if it's always plugged in.
      
      Since the generic parser can handle multiple headphone plugging
      gracefully, we can get rid of this override now.
      Reported-and-tested-by: NEric Shattow <lucent@gmail.com>
      Cc: <stable@vger.kernel.org> [v3.9+]
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      f3e351ee
    • T
      ALSA: hda - Fix EAPD GPIO control for Sigmatel codecs · 1ea9a69d
      Takashi Iwai 提交于
      The EAPD GPIO is dynamically turned on/off for some machines with
      Sigmatel codecs, but this didn't work as expected, and it resulted in
      spontaneous lost of speaker outputs per HP plugging or power-saving.
      
      This patch fixes the bug by simply including spec->eapd_mask into
      spec->gpio_mask and spec->gpio_data bits.
      Reported-and-tested-by: NEric Shattow <lucent@gmail.com>
      Cc: <stable@vger.kernel.org> [v3.9+]
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      1ea9a69d
  5. 25 6月, 2013 1 次提交
  6. 28 5月, 2013 1 次提交
  7. 22 3月, 2013 1 次提交
  8. 18 3月, 2013 1 次提交
  9. 14 3月, 2013 2 次提交
  10. 06 2月, 2013 1 次提交
  11. 01 2月, 2013 1 次提交
  12. 28 1月, 2013 1 次提交
  13. 25 1月, 2013 2 次提交
  14. 22 1月, 2013 1 次提交
  15. 21 1月, 2013 2 次提交
  16. 18 1月, 2013 3 次提交
    • T
      ALSA: hda/sigmatel - Add bass speaker support for HP ENVY Spectre XT · 49920427
      Takashi Iwai 提交于
      The pin configuration for the bass speaker needs to be corrected in a
      fixup.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      49920427
    • T
      ALSA: hda - Consolidate cap_sync_hook and capture_switch_hook · a90229e0
      Takashi Iwai 提交于
      Two hooks in hda_gen_spec, cap_sync_hook and capture_switch_hook, play
      very similar roles.  The only differences are that the former is
      called more often (e.g. at init or switching capsrc) while the latter
      can take an on/off argument.
      
      As a more generic implementation, consolidate these two hooks, and
      pass snd_ctl_elem_value pointer as the second argument.  If the
      secondary argument is non-NULL, it can take the on/off value, so the
      caller handles it like the former capture_switch_hook.  If it's NULL,
      it's called in the init or capsrc switch case.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      a90229e0
    • T
      ALSA: hda - Use generic parser for STAC/IDT codec driver · 36c9db7a
      Takashi Iwai 提交于
      Finally we reached here.  All codecs driver (except for CA0132, which
      has really device-specific requirements) have been converted to use
      the generic parser.
      
      This patch appears bigger than others since it also involves with the
      code shuffling, but mostly the cut-off of parser codes and adapt to
      the generic parser flags.  Most of fixup codecs haven't been changed
      but just removed a few unnecessary codes.
      
      The only missing stuff is the SPDIF mux control.  It'll be added again
      later.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      36c9db7a
  17. 17 1月, 2013 1 次提交
  18. 15 1月, 2013 10 次提交
  19. 14 1月, 2013 2 次提交
  20. 12 1月, 2013 2 次提交
  21. 13 12月, 2012 1 次提交
  22. 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
  23. 21 11月, 2012 1 次提交