1. 25 Jun, 2013 4 commits
    • Mengdong Lin's avatar
      ALSA: hda - clean up code to reset hda link · 7295b264
      Mengdong Lin authored
      This patch is a cleanup to the previous patch "reset hda link during system/
      runtime suspend".
      
      In this patch
      - azx_enter_link_reset() and azx_exit_link_reset() are defined for entering and
        exiting the link reset respectively. azx_link_reset() is no longer used and
        replaced by azx_enter_link_reset().
      - azx_reset() reuses the above two new functions for a link reset cycle
      Signed-off-by: default avatarMengdong Lin <mengdong.lin@intel.com>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      7295b264
    • Wang Xingchao's avatar
      ALSA: hda - Add In-driver connection info · 8b2c7a5c
      Wang Xingchao authored
      Pin's connection list may change dynamically with hot-plug event
      on Intel Haswell chip. Users would see connections be "0" in codec#.
      when play audio on this pin, software driver choose converter from cache
      connections. So add "In-driver connection" info to avoid confuse when
      raw connections are different with cache connection.
      Signed-off-by: default avatarWang Xingchao <xingchao.wang@linux.intel.com>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      8b2c7a5c
    • Takashi Iwai's avatar
      ALSA: hda - Use auto_mute_via_amp=1 for VT1708 · eb33ccf7
      Takashi Iwai authored
      We've got bug report wrt many machines with VT1708 (e.g. IBM POS
      machines) showing the broken auto-mute behavior.  It turned out that
      the problem is that the pin control values of the speaker and line-out
      pins are completely ignored.  As a workaround, let's use the newly
      introduced feature of the generic parser, to control the mute via amp
      on pins.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      eb33ccf7
    • Takashi Iwai's avatar
      ALSA: hda - Add auto_mute_via_amp flag to generic parser · 7eebffd3
      Takashi Iwai authored
      Add a new flag, auto_mute_via_amp, to determine the behavior of the
      headphone / line-out auto-mute.  When this flag is set, the generic
      driver mutes the speaker and line outputs via the amp mute of each
      pin, instead of changing the pin control values.
      
      This is introduced for devices that don't work expectedly with the pin
      control values; for example, some devices are known to keep enabling
      the speaker outputs no matter which pin control values are set on the
      speaker pins.
      
      The driver doesn't check actually whether the pins have the output amp
      caps, but assumes that the proper mixer (mute) controls are created on
      all these pins.  If not the case, you can't use this flag for your
      device.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      7eebffd3
  2. 24 Jun, 2013 4 commits
  3. 21 Jun, 2013 8 commits
  4. 20 Jun, 2013 1 commit
  5. 19 Jun, 2013 1 commit
    • Takashi Iwai's avatar
      ALSA: hda - Fix missing Mic Boost controls for VIA codecs · d045c5dc
      Takashi Iwai authored
      Some VIA codecs like VT1708S have Mic boost amps in the mic pins but
      they aren't exposed in the capability bits.  In the past driver code,
      we override the pin caps and create mic boost controls forcibly.
      While transition to the generic parser, we lost the mic boost controls
      although the pin caps are still overridden, because the generic parser
      code checks the widget caps, too.
      
      So this patch adds a new helper function to allow the override of the
      given widget capability bits, and makes VIA codecs driver to add the
      missing input-amp capability bit.
      
      Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=59861
      Cc: <stable@vger.kernel.org> [v3.9+]
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      d045c5dc
  6. 18 Jun, 2013 7 commits
  7. 17 Jun, 2013 15 commits