1. 11 9月, 2014 1 次提交
    • T
      ALSA: hda - Fix invalid pin powermap without jack detection · 7a9744cb
      Takashi Iwai 提交于
      When a driver is set up without the jack detection explicitly (either
      by passing a model option or via a specific fixup), the pin powermap
      of IDT/STAC codecs is set up wrongly, resulting in the silence
      output.  It's because of a logic failure in stac_init_power_map().
      It tries to avoid creating a callback for the pins that have other
      auto-hp and auto-mic callbacks, but the check is done in a wrong way
      at a wrong time.  The stac_init_power_map() should be called after
      creating other jack detection ctls, and the jack callback should be
      created only for jack-detectable widgets.
      
      This patch fixes the check in stac_init_power_map() and its callee
      at the right place, after snd_hda_gen_build_controls().
      Reported-by: NAdam Richter <adam_richter2004@yahoo.com>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      7a9744cb
  2. 30 7月, 2014 1 次提交
  3. 22 7月, 2014 1 次提交
  4. 15 7月, 2014 1 次提交
  5. 25 6月, 2014 2 次提交
  6. 21 5月, 2014 1 次提交
  7. 27 2月, 2014 1 次提交
    • T
      ALSA: hda/sigmatel - Allow auto-switching for dock line-in of HP laptops · e8b99a1d
      Takashi Iwai 提交于
      Many HP laptops with STAC codecs have a docking station port and BIOS
      sets the pins for the input on the dock as a line in.  Because the
      generic parser doesn't handle a line in pin as auto-switchable, this
      resulted in the manual capture source selection on these laptops.
      
      However, from the usability POV, the automatic switching is easier.
      This patch adds the line_in_auto_switch hint in the fixup function for
      these laptops.  Even if no dock port is present, this should be
      harmless as the generic parser allows the auto-switching only in a
      limited situation (all three pins are located in different
      positions).
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      e8b99a1d
  8. 25 2月, 2014 2 次提交
  9. 20 2月, 2014 1 次提交
  10. 07 2月, 2014 1 次提交
    • T
      ALSA: hda - Fix inconsistent Mic mute LED · 7fe30711
      Takashi Iwai 提交于
      The current code for controlling mic mute LED in patch_sigmatel.c
      blindly assumes that there is a single capture switch.  But, there can
      be multiple multiple ones, and each of them flips the state, ended up
      in an inconsistent state.
      
      For fixing this problem, this patch adds kcontrol to be passed to the
      hook function so that the callee can check which switch is being
      accessed.  In stac_capture_led_hook(), the state is checked as a
      bitmask, and turns on the LED when all capture switches are off.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      7fe30711
  11. 13 1月, 2014 1 次提交
  12. 26 11月, 2013 1 次提交
  13. 15 11月, 2013 1 次提交
  14. 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
  15. 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
  16. 29 7月, 2013 1 次提交
  17. 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
  18. 25 6月, 2013 1 次提交
  19. 28 5月, 2013 1 次提交
  20. 22 3月, 2013 1 次提交
  21. 18 3月, 2013 1 次提交
  22. 14 3月, 2013 2 次提交
  23. 06 2月, 2013 1 次提交
  24. 01 2月, 2013 1 次提交
  25. 28 1月, 2013 1 次提交
  26. 25 1月, 2013 2 次提交
  27. 22 1月, 2013 1 次提交
  28. 21 1月, 2013 2 次提交
  29. 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
  30. 17 1月, 2013 1 次提交
  31. 15 1月, 2013 2 次提交